In the latest version of Chrome, when a flash application is looking for permission to a webcam, the user is presented with two permission dialogs:
- Flash Flash Traditional Security Dialog
- Chrome's built-in security bar in the address bar (what you see when using getUserMedia)
In order for the flash memory to access the media stream of the webcam, the user must accept the BOTH flash security dialog and the chrome protection dialog. The problem is that (as far as I know) there is no way to determine if the user has been accepted or rejected their own permissions panel.
We tried to get permission for the webcam from chrome before starting the flash recording (using getUserMedia), but as it turns out, when the flash is recording, it starts the second security prompt for a new media stream (that is, chrome does not allow every page to stream every page) .
This new "feature" seems to be poorly thought out and is about to kill Flash recording / streaming applications.
Does anyone know how to get a callback (success / failure) from the security panel initiated by a flash attempt to access the webcam?
source share