I am trying to test out screen sharing using getUserMedia()
. I have Chrome version 28 and the getUserMedia()
screen capturing flag enabled, yet I still get permission denied errors.
On this screen capture demo, I get the following error:
getUserMedia error: NavigatorUserMediaError {code: 1, PERMISSION_DENIED: 1}
While, on this screen capture demo, I get the following demo:
PERMISSION_DENIED. Are you no SSL?
I never got any prompts about sharing when visiting the sites. Why does my browser deny permission to screen share?
I had the same permission denied problem.
I solved it simply clicking in
And enabling the "Ask me to enable video..." option
Reload page and it will ask again if you want to load the webcam.
That worked for me.
For screen capture with getUserMedia, you need to use HTTPS. (Apologies if you followed a link of mine which didn't have that!)
The second demo you mentioned (this one) works for me on Chrome 28.
It sounds like you enabled the flag, but make sure the one called Enable screen capture support in getUserMedia()
is enabled in chrome://flags
(and that you have restarted Chrome since enabling that).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With