w3c / mediacapture-output

API to manage the rendering of audio on any audio output device
https://w3c.github.io/mediacapture-output/
Other
26 stars 25 forks source link

default audio output should be first in the enumerateDevice returned list #113

Closed youennf closed 3 years ago

youennf commented 3 years ago

Following microphones and cameras, we should try exposing the default audio output device using its first position. This also probably means it should always be exposed since '' allows to be used by setSinkId.

In case of change of default audio output device, we might also want to fire a devicechange event if more than one audio output device has been exposed.

guidou commented 3 years ago

I agree with this. Also, this all matches Chromium's behavior.

guest271314 commented 3 years ago

enumerateDevices() currently returns inconsistent results re selecting and listing default devices https://github.com/w3c/mediacapture-main/issues/727. Would suggest to fix fix that inconsistency. Also, there really is no "default audio output device" https://github.com/w3c/mediacapture-output/issues/111 in either this or Media Capture an Streams main, at best there is a re-routing of audio input device.

guidou commented 3 years ago

Since enumerateDevices is defined in mediacapture-main, I filed a https://github.com/w3c/mediacapture-main/issues/756 to track it there and closing this one.