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

> 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 
https://github.com/w3c/mediacapture-main/issues/402#issuecomment-250304371
 using your GitHub account

Received on Wednesday, 28 September 2016 21:20:52 UTC