Add support for "camera" and "microphone" in navigator.permissions.query()
Categories
(Core :: WebRTC: Audio/Video, enhancement)
Tracking
()
People
(Reporter: bpeiris, Unassigned)
Details
Comment 1•7 years ago
|
||
Comment 2•3 years ago
|
||
The proper permissions API for camera/microphone is now required for web page to setup user video meeting. Web page for example cannot obtain proper devices list without media permission. To ensure we have it in Firefox we have to acquire real media stream, then immediately stop it - that is very suspicious for the most users (we're not in the meeting but we already trying to capture media). Chrome allows web dev to do that only in case when page have no prior permissions.
Even worse, Firefox won't allow web dev to enumerate devices without active stream when user haven't allowed it forever. But it's possible to reacquire stream and enumerate devices when it's active - without any notice for the user and any additional confirmation.
For the security model - as far as I can see now Firefox has "Permissions" section in "Privacy & Security" settings, and this section has "Camera", "Microphone" just as "Location" and "Notifications". But web devs are only allowed to access latter two.
So to sum up - maybe times have changed, and it's worth to reopen this issue again.
Description
•