W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2018

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

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Sep 2018 12:48:57 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-424702558-1537966136-sysbot+gh@w3.org>
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

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