Re: [mediacapture-main] Only reveal labels of devices user has given permission to (#640)

I like this flow. Sadly, I do not think this is web-compatible anymore for camera/mic given the current widespread usage of camera/mic pickers in websites.
For output speakers, plan is for https://github.com/w3c/mediacapture-output/issues/83 to follow the pattern you describe.

A few thoughts:
1. Device labels are not great. Browsers could decide to sanitize them if some labels are privacy sensitive.
2. Device info and capabilities can leak sensitive information as well (a prototype having super high resolution for instance). In that sense, I am not sure labels should be special cased. I would prefer that we expose device info (or browser sanitized device info) or nothing.
3. Once we solve https://github.com/w3c/mediacapture-output/issues/83, we might be able to limit camera/mic device info exposure per type instead of per device. If you request camera access, you get the whole list of cameras, not the list of microphones.

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

Received on Tuesday, 5 November 2019 07:10:57 UTC