[mediacapture-main] gUM algorithm shouldn't remove "denied" sources from finalSet

jan-ivar has just created a new issue for 
https://github.com/w3c/mediacapture-main:

== gUM algorithm shouldn't remove "denied" sources from finalSet ==
The [getUserMedia 
algorithm](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-getusermedia)
 says:

4. Retrieve the permission state for all candidate devices in 
candidateSet that are not attached to a live MediaStreamTrack in the 
current browsing context. Remove from candidateSet any device for 
which the permission state is "denied".

If candidateSet is now empty, indicating that all devices of this type
 are in state "denied", jump to the step labeled PermissionFailure 
below.

5. Add all tracks from candidateSet to finalSet.


Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/418 using your GitHub 
account

Received on Tuesday, 15 November 2016 23:25:37 UTC