Re: [mediacapture-image] Clarify pan/tilt/zoom capabilities (#245) (#250)

> @eehakkin IIRC, it looks like `getUserMedia({video: true})` for a site that was already been granted PTZ access won't expose PTZ capabilities. Is this intended?
> I thought we would use the PTZ permission regardless of the originated PTZ permission request result.

That is not intended.
I referred to the "request permission to use" algorithm which returns the current permission state if the state is not "prompt" (i.e. if the state is either "granted" or "denied"). So AFAIU if a site with PTZ access does `getUserMedia({video: true})`, that results in requesting permission to use a PermissionDescriptor with its name member set to `"camera"` and its panTiltZoom member set to `true` and the algorithm immediate returns `"grant"` and therefore PTZ capabilities will be exposed.

Do you have a better wording suggestions?

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


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

Received on Thursday, 20 August 2020 11:40:54 UTC