Re: [mediacapture-main] Replace device enumeration API with API returning a secure widget

@KOLANICH `enumerateDevices()`is indeed there to allow the page to get
 to know what devices are available to enable it to make a more 
intelligent request via getUserMedia. Note that the info made 
available is less if the site currently does not have the permission 
to use devices (the label is filtered away). I don't think anyone is 
prepared to take a step back to the status before it was introduced 
(then the page could only ask for devices that met certain criteria - 
constraints - but had no way to check if the device the user ended up 
preferring the last time is available, and if so ask for it directly).
It also feels like the wrong time to introduce a new concept (that is 
apparently not standardized yet) when we are very close to move to CR.

-- 
GitHub Notification of comment by stefhak
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/311#issuecomment-178114430
 using your GitHub account

Received on Monday, 1 February 2016 18:34:15 UTC