Re: [mediacapture-image] Determine how PTZ permission prompts are supposed to work (#243)

> to mandate that browsers need to provide a prompt that allows to simultaneously grant the camera permission and denies the PTZ one in case none of the permissions have been persisted. Can anyone confirm?

Agreed with @guidou that we need to understand precisely what are the user agent (UI/prompt) requirements this spec mandates.
Also agreed that this particular requirement (granting both at the same time) might not suite WebKit/Safari needs.

> In my opinion, implementations should have flexibility wrt to how they want to implement the prompts.

Agreed again.
We are far on our side from a concrete plan, but I could for instance see scenarios like:
- getUserMedia is used to select a camera, if possible PTZ. At that point, PTZ permission decision is not presented to user.
- Once camera permission is granted and device is in use, web site can see that camera is PTZ.
- Web site tries to use PTZ (get values/apply constraints). At that point, PTZ permission is presented to user (with a persistency choice).

That said, it would be interesting to get input from potential customers of this API.
In general, user agent developers like getting flexibility while web developers prefer dealing with a single model for all user agents. If all user agents agree on a given model, it might be fine for the spec to engrave it.

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


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

Received on Tuesday, 18 August 2020 12:38:52 UTC