Re: [mediacapture-image] Enforcing user gesture for getUserMedia in case of PTZ request (#254)

So how should this gating work? Should the descriptions of pan, tilt and zoom photo capabilities and constrainable properties be amended with text like

 _"The user agent MUST ignore any persisted granted permissions unless the document's Window object has transient activation."_

The idea here is to align with the main spec which might get similar gating if https://github.com/w3c/mediacapture-extensions/issues/11 is resolved as @youennf suggested (https://github.com/w3c/mediacapture-extensions/issues/11#issuecomment-593307645) based on @alvestrand's and @jan-ivar 's comments.

In that is it would actually be that the persisted granted permissions (and not the getUserMedia calls per se) would be gated by a user gesture which is apparently called transient activation nowadays.

-- 
GitHub Notification of comment by eehakkin
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/254#issuecomment-832123515 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 4 May 2021 17:43:19 UTC