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

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