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

Re: [mediacapture-main] enumerateDevices should only provide device info permission for granted device types (#645)

From: Brad Isbell via GitHub <sysbot+gh@w3.org>
Date: Thu, 19 Dec 2019 06:21:44 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-567352693-1576736503-sysbot+gh@w3.org>
I often work with several cameras and audio devices simultaneously.  In these scenarios, I don't think a per-device info grant makes sense, as that prohibits the application from showing a list of devices to the user to choose from.

We already have the problem of prompting the user what initial device they'd like to use.  While for many video conferencing style applications, leaving the default device is appropriate, more advanced use cases really do require this device information exposed to the application.  It's my understanding that the upcoming Permissions API will help with this, as we will be able to request what's needed up-front?

In either case, I think the suggestion of limiting to device type would be fine.  

GitHub Notification of comment by bradisbell
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/645#issuecomment-567352693 using your GitHub account
Received on Thursday, 19 December 2019 06:21:45 UTC

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