enumerateDevices/setSinkId stopped working in Nightly
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
People
(Reporter: jamie, Unassigned)
References
(Regression, )
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
Steps to reproduce:
I had previously enabled the experimental setSinkId support in about:config (media.setsinkid.enabled = true). With Firefox Nightly 92 (on macOS), this preference no longer is taking effect.
Actual results:
When calling navigator.mediaDevices.enumerateDevices(), the list of devices no longer includes Audio Output devices. Existing sink IDs that may have been saved by an application can no longer be used on setSinkId to change the output device. This functionality appears to be broken.
Expected results:
With this preference enabled, the call to navigator.mediaDevices.enumerateDevices() should return a list of Input and Output devices.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
•
|
||
Karl, would you mind having a look? Is this something related to bug 1577199?
Comment 3•3 years ago
•
|
||
Probably just the exposure decision algorithm actually being implemented:
- If deviceInfo.deviceId is in [[explicitlyGrantedAudioOutputDevices]], return true.
- If deviceInfo.groupId is the same as the groupId of any microphone in microphoneList, return true.
- return false.
Updated•3 years ago
|
Comment 4•3 years ago
|
||
If getUserMedia()
has resolved successfully, and there is a microphone expected to have the same groupId
, then please feel free to reopen.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•