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

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

From: Eric Carlson via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jul 2019 13:43:53 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-512821639-1563457432-sysbot+gh@w3.org>
> In reply to the second question, I have the suspicion that it is indeed the case that if only selecting true for both, one would end up with the default device because is the device with "best fit" in such a case than any other device.
> 
Why is the default device necessarily the "best fit", unless the spec says so.

> What I mean is that if the developer can select the default device explicitly already using "deviceId", is it useful to explicitly mention in the API that the default device is the first that is shown in the list of enumerateDevices?
> 
The developer can only select the default device explicitly with 'deviceId` if they know the id of the default device. How do they do find the id of the default device?

-- 
GitHub Notification of comment by eric-carlson
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/608#issuecomment-512821639 using your GitHub account
Received on Thursday, 18 July 2019 13:43:55 UTC

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