W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > September 2016

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Fri, 09 Sep 2016 07:11:08 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-245837228-1473405067-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:30 UTC