Re: [mediacapture-main] Reinstate strong language on permission ending when tracks stop, lost by editorial mistake

This matches an earlier draft of mine which I didn't like because it 
forced interaction with the permission store at every close as well as
 at every open.

It's also interesting if this sequence can exist:

getUserMedia(device=x) => track A returned, temporary permission to 
device X
getUserMedia(device=x) => track B returned, permanent permission to 
device X
track A.stop()
permissions.check(device=x) => what?

The permission status resulting from this should be "granted". But 
information about that can't be stored in the UA's information about 
track A. So the procedure to close has to access global information 
about the device, and permissions.check(device=x) isn't helpful.

Add more tracks and revocations for more complicated cases.

I got lost in complexity when trying to describe that, so I backed out
 of it.
I'll be happy to review proposed language to go back down that route.



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

Received on Friday, 9 September 2016 07:11:15 UTC