W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > November 2015

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 Nov 2015 04:26:27 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issues.opened-114966690-1446611186-sysbot+gh@w3.org>
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

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