W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > April 2019

Re: [mediacapture-main] Clarify that enumerateDevices must not expose devices that a given context cannot use through getUserMedia (#549)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Tue, 30 Apr 2019 18:58:28 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-488073660-1556650707-sysbot+gh@w3.org>
I think this is a good idea. It'd mean *enumerateDevices* would resolve empty from cross-origin iframes unless either `allow="camera"`, `allow="microphone"`, `allow="speaker"`, or any combination of those were specified, and even then you'd only get the relevant info.

> From my reading of the spec, this is the required behavior.

It seems to hinge on the definition of "available". I think this deserves more specific mention. I'll work on a PR.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/549#issuecomment-488073660 using your GitHub account
Received on Tuesday, 30 April 2019 18:58:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:15:03 UTC