6 ms·
Well, it's opt-in. So unknowing access is (at least without further actions) not possible. getUserMedia: "Prompts the user for permission to use their Web cam
by jmaicher 14y ago
Well, it's opt-in. So unknowing access is (at least without further actions) not possible.
getUserMedia: "Prompts the user for permission to use their Web cam or other video or audio input." [1]
By the way: The example doesn't work for me either.
[1] http://dev.w3.org/2011/webrtc/editor/getusermedia.html http://dev.w3.org/2011/webrtc/editor/getusermedia.html
- samstave 14y agoSure, but I am asking if this can be modded to gain unauth access to the webcam.
- mithras 14y agoPossibly if someone managed to include it on a page you had already given permission. I don't know if how you'd sent it somewhere with the same origin policy in place.
- franze 14y ago>Possibly if someone managed to include it on a page you had already given permission. nope, the "use webcam" permission is per "getUserMedia" call, so 2 getUserMedia calls = 2 allowbar popups.
- showerst 14y agoThe 'allow getusermedia' policy is handled by the browser, not javascript. It's possible that some day there will be a browser bug for bypassing it, but you can't just write javascript code that says "don't ask for permission". Nowadays the majority of webcams also hard-wire their 'on' light, so the user would at least get an indication that the webcam is suddenly recording.