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

Re: [mediacapture-main] Should we allow empty string device IDs? (#551)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Jan 2019 18:58:37 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-455289017-1547751515-sysbot+gh@w3.org>
> the default devices are removed and the real devices appear as new devices.

That might work, but in that case I would expect a `devicechange` event to fire. I'd also expect the *deviceId* to be usable in *getUserMedia* before the event but not after, or perhaps during.

> allow some values (empty string, 'default') to be the same cross-origin.

What does this accomplish that a random id doesn't?

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/551#issuecomment-455289017 using your GitHub account
Received on Thursday, 17 January 2019 18:58:38 UTC

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