onRequestMediaAccessPermission
abstract fun onRequestMediaAccessPermission(browser: CefBrowser, frame: CefFrame, requesting_url: String, requested_permissions: Int, callback: CefMediaAccessCallback): Boolean
Called when a page requests permission to access media. Return true and call CefMediaAccessCallback::Continue() either in this method or at a later time to continue or cancel the request. Return false to cancel the request immediately.
Parameters
browser
The browser generating the event.
frame
The corresponding frame.
requesting_url
The URL requesting permission.
requested_permissions
The bitmask of requested permissions.
callback
execute callback to provide media permissions.