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.

With respect to the first question, would formalizing that behavior bring something to the developer that otherwise was not already available? 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?

-- 
GitHub Notification of comment by armax00
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/608#issuecomment-512688001 using your GitHub account

Received on Thursday, 18 July 2019 06:47:51 UTC