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

Firefox in its default configuration does provide real device info before getUserMedia access is first granted, minus labels. I believe this is to spec.

While those deviceIds are not persistent *at that moment*, they're immediately usable in getUserMedia constraints and *become* persistent *if* the user grants getUserMedia in that session. If the user doesn't grant anything, the ids expire at the end of the session.

> WebKit [...] enumerateDevices will provide default configurations for a given device, typically a microphone and a camera for a laptop.

Firefox can be configured with [privacy.resistFingerprinting=true](https://wiki.mozilla.org/Security/Fingerprinting) that does this, but persistently and it also ignores constraints.

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

Received on Wednesday, 26 September 2018 12:48:58 UTC