Support application preferences for cameras and mics in getUserMedia() prompts (Desktop)

NEW
Unassigned

Status

()

Firefox
Device Permissions
4 years ago
2 years ago

People

(Reporter: jesup, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [getUserMedia])

(Reporter)

Description

4 years ago
When implementing constraints for bug 882145, we'll need the UI to support being told that a specific device should be the default one shown to the user.  No string or other changes should occur; it's solely changing the default from the first device to a specified one. API TBD in bug 882145.

This bug is for the desktop platforms; separate bugs will be cloned off it for Android and B2G.
(Reporter)

Updated

4 years ago
Whiteboard: [getUserMedia]
Do we really even need to implement this UI for desktop? It would seem quite rare for a desktop to have multiple camera options, so I'd put this at a pretty low priority at most.
Summary: Support application preferences for cameras and mics in getUserMedia() prompts → Support application preferences for cameras and mics in getUserMedia() prompts (Desktop)
Component: General → Device Permissions

Comment 2

2 years ago
Users of the OpenTok platform (www.tokbox.com) have been requesting this functionality for awhile. One of the main use cases is to use the enumerateDevices API and pass a specific camera (or microphone) as a constraint for getUserMedia(). We have enough demand for device selection that we have created a hardware set-up component (https://github.com/opentok/opentok-hardware-setup.js) to assist the user in selecting a camera and microphone. This works perfectly in Chrome. But in Firefox, when the user selects a device, the browser prompts them to select it a second time (due to this bug).
You need to log in before you can comment on or make changes to this bug.