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

[mediacapture-main] Should we allow empty string device IDs?

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 Oct 2018 17:17:10 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-376073024-1541006229-sysbot+gh@w3.org>
youennf has just created a new issue for https://github.com/w3c/mediacapture-main:

== Should we allow empty string device IDs? ==
In WebKit, we do want to filter out device IDs provided through enumerateDevices until the user grants permission to camera or microphone.

>From https://w3c.github.io/mediacapture-main/#device-info, it seems that we could omit the deviceId member field as it is optional.

Another option is for the deviceId value to be the empty string, as a way to limit the potential breakage made to web applications. This seems forbidden as per spec:
"All enumerable devices have an identifier that MUST be unique to the page's origin"

Any thoughts?

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/551 using your GitHub account
Received on Wednesday, 31 October 2018 17:17:12 UTC

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