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

[mediacapture-main] Clarify that enumerateDevices must not expose devices that a given context cannot use through getUserMedia

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Thu, 25 Oct 2018 09:03:08 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-373843765-1540458187-sysbot+gh@w3.org>
youennf has just created a new issue for https://github.com/w3c/mediacapture-main:

== Clarify that enumerateDevices must not expose devices that a given context cannot use through getUserMedia ==
getUserMedia access to camera/mics/speakers can be controlled by FeaturePolicy.
In case, feature policy disables camera access, enumerateDevices should not enumerate camera devices. Ditto for other types of devices.

>From my reading of the spec, this is the required behavior.
I haven't found a WPT test though and I am unsure whether browsers are actually implementing that.

A WPT test would be good if this is actually not covered.
Maybe a note in the spec if we see browsers not implementing this (although a test might be more effective than a note).

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/549 using your GitHub account
Received on Thursday, 25 October 2018 09:03:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:07 UTC