mediaDevices.enumerateDevices does not list audioutput that have no corresponding audioinput
Categories
(Core :: WebRTC: Audio/Video, enhancement)
Tracking
()
People
(Reporter: simon.gymer, Unassigned)
References
()
Details
Steps to reproduce:
Calling navigator.mediaDevices.enumerateDevices is only listing audiooutput if the audioutput device also has a corresponding audioinput device, e.g on a headset where you have a speaker and a microphone.
For audio devices like USB speakers that have no corresponding microphone, they are not listed as an audiooutput device by Firefox. These types of devices work fine in Chromium.
If you don't have a USB speaker to test it with, then in Windows, just disable the microphone of your headset before opening Firefox, it has the same effect as having a speaker (output) only audio device.
In the results below you will see the Speakers (Logi Z407) and the Speakers (USB 3.0 Dual 4K Displayport adapter) devices are missing from Firefox.
This is quite a normal/common use case for our users who have both independant microphones and independant speakers and also for home users who want to use the in-built speakers from their HDMI monitor.
Actual results:
Firefox results:
type = audioinput, name = Microphone (C922 Pro Stream Webcam)
type = audioinput, name = Microphone (Realtek(R) Audio)
type = audioinput, name = Microphone (4- G533 Gaming Headset)
type = audioinput, name = Microphone (UC USB Headset)
type = audiooutput, name = Default audio output device
type = audiooutput, name = Speakers (Realtek(R) Audio)
type = audiooutput, name = Headphones (UC USB Headset)
Expected results:
Chromium results:
type = audioinput, name = Default - Microphone (C922 Pro Stream Webcam)
type = audioinput, name = Communications - Microphone (C922 Pro Stream Webcam)
type = audioinput, name = Microphone (Realtek(R) Audio)
type = audioinput, name = Microphone (C922 Pro Stream Webcam)
type = audioinput, name = Microphone (4- G533 Gaming Headset)
type = audioinput, name = Microphone (UC USB Headset)
type = audiooutput, name = Default - Speakers (Logi Z407)
type = audiooutput, name = Communications - Speakers (USB 3.0 Dual 4K Displayport adapter)
type = audiooutput, name = Speakers (Logi Z407)
type = audiooutput, name = Speakers (Realtek(R) Audio)
type = audiooutput, name = Headphones (UC USB Headset)
type = audiooutput, name = Speakers (USB 3.0 Dual 4K Displayport adapter)
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::WebRTC: Audio/Video' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Updated•2 months ago
|
Description
•