W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > June 2020

Re: [mediacapture-main] Should enumerateDevices by default return an empty list? (#646)

From: pes via GitHub <sysbot+gh@w3.org>
Date: Tue, 30 Jun 2020 06:03:58 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-651561532-1593497037-sysbot+gh@w3.org>
@youennf Like i mentioned on other thread, I know there are several related topics at play here, so if I'm putting this comment in the wrong place, my apologies; happy to move wherever is best for the WG

My understanding from other issues that the current plan is to pre-permission, _not_ return an empty list, but to instead return one entry per type of device supported.  So if my device has 2 cameras, one speaker, and a dozen microphones, the pre-permission returned value from `enumerateDevices` would have three items in it.  Is this correct?

If so, what would the labels be for those returned values?  And what would the device ids be?

GitHub Notification of comment by pes10k
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/646#issuecomment-651561532 using your GitHub account
Received on Tuesday, 30 June 2020 06:05:08 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:51 UTC