[mediacapture-main] Inconsistency in releasing permissions for a source

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

== Inconsistency in releasing permissions for a source ==
In section 
http://w3c.github.io/mediacapture-main/getusermedia.html#mediastreamtrack:

"A script can indicate that a track no longer needs its source with 
the MediaStreamTrack.stop() method. When all tracks using a source 
have been stopped, the given permission for that source is revoked and
 the source is stopped.......

If there is no stored permission to use that source, the User Agent 
should also remove the "permission granted" indicator for the source."

I believe the second sentence is correct, and the first sentence is 
not: If there is a stored permission, that is not affected by closing,
 but if there is no stored permission, the permission is revoked when 
the device is not used. Both sentences should use the same wording, 
and possibly merge.


See https://github.com/w3c/mediacapture-main/issues/269

Received on Wednesday, 4 November 2015 04:26:32 UTC