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

> 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