Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
youennf opened this issue Sep 18, 2020 · 3 comments
Closed

Comments

@youennf
Copy link
Contributor

youennf commented Sep 18, 2020

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
Copy link
Contributor

guidou commented Sep 18, 2020

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

@guest271314
Copy link

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

@guidou
Copy link
Contributor

guidou commented Dec 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants