Re: [mediacapture-main] With single camera, calling getUserMedia twice causes PermissionFailure.

So if "set" refers to `finalSet`, then this step prunes tracks from 
`finalSet`, but only jumps to *Permission Failure* if `finalSet` ends 
up empty...

That seems wrong. For example: If a site calls 
`getUserMedia({video:true, audio: true})` and the user has previously 
blocked the site from accessing their microphone, then the above step 
would prune away all audio tracks, leaving only video tracks in 
`finalSet`.

This makes it impossible, four steps later, to satisfy this: "The 
provided media MUST include precisely one track of each media type in 
requestedMediaTypes from the `finalSet`." - because no audio tracks 
remain in `finalSet`.

It should probably have jumped to *Permission Failure* in this case.

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

Received on Thursday, 5 May 2016 20:59:00 UTC