Closed Bug 1726728 Opened 3 years ago Closed 3 years ago

enumerateDevices/setSinkId stopped working in Nightly

Categories

(Core :: WebRTC: Audio/Video, defect)

Firefox 92
defect

Tracking

()

RESOLVED WONTFIX

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.

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.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Karl, would you mind having a look? Is this something related to bug 1577199?

Component: Audio/Video: Playback → WebRTC: Audio/Video
Flags: needinfo?(karlt)

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.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(karlt)
Regressed by: 1493982
Resolution: --- → WONTFIX
Has Regression Range: --- → yes

If getUserMedia() has resolved successfully, and there is a microphone expected to have the same groupId, then please feel free to reopen.

See Also: → 1712892, 1769985
You need to log in before you can comment on or make changes to this bug.