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

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