W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > September 2016

Re: [mediacapture-main] Allow ondevicechange to be fired before permission is granted or any device is opened

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Sep 2016 21:20:45 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-250304371-1475097643-sysbot+gh@w3.org>
> If we allow enumerateDevices already, suppressing (or delaying) the 
events won't provide any additional benefit or protection.

@ShijunS I was trying to avoid exactly that argument by aligning the 
functionalities of enumerateDevices and the devicechange event, since 
I'd much rather discuss this based on merit.

To move forward on this, we still need to address the concerns in 
https://github.com/w3c/mediacapture-main/issues/333 somehow I think.

> BTW, I don't like the polyfill approach

I think you misunderstand, I wasn't advocating using a polyfill. On 
the contrary, I was trying to remove any benefit from writing one. 
However, I'm digging a bit of a hole, since if users can't trust 
enumerateDevices, then getUserMedia is next.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
 using your GitHub account
Received on Wednesday, 28 September 2016 21:20:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:30 UTC