W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > July 2019

[mediacapture-main] Is enumerateDevices list order significant? (#608)

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Jul 2019 18:10:58 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-468793413-1563300657-sysbot+gh@w3.org>
youennf has just created a new issue for https://github.com/w3c/mediacapture-main:

== Is enumerateDevices list order significant? ==
Some OSes allow users to set the default microphone.
Looking at Safari, Chrome and Firefox on MacOS, the first audioinput device in the list is the default system microphone. Chrome and Firefox try to convey that this is the default one using labels/deviceIds.
I do not know of any 'system default' for camera but the same principle could be extended to videoinput devices.

Should we describe this behaviour in the spec?

Also, if calling navigator.mediaDevices.getUserMedia({audio: true, video: true}), is it expected that the first audioinput and first videoinput devices be selected?

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/608 using your GitHub account
Received on Tuesday, 16 July 2019 18:11:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:25 UTC