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

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

From: Armando \(armax00\) via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jul 2019 06:47:49 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-512688001-1563432468-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.

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

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