Re: [mediacapture-main] enumerateDevices() doesn't mention how to handle OS device permissions

WebKit is not providing real device information until getUserMedia access is granted.
By default, enumerateDevices will provide default configurations for a given device, typically a microphone and a camera for a laptop.

Provided device ids are not persistent (maybe there should be no device ID in that case) and labels are hidden.

This should give the minimum meaningful information for a web application to decide whether to call getUserMedia and with which constraints.

A devicechange event can be used to convey to the web application that the full information is available.

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

Received on Wednesday, 26 September 2018 00:53:31 UTC