Re: [mediacapture-image] Ignore PTZ request if no PTZ camera (#246)

@youennf Sorry how does the permission level granted relate to `OverconstrainedError`?

> We could change getUserMedia algorithm so that it asks permission for one specific device of a given kind.

That's the case in Firefox by default where one-time permissions are inherently per device.

For `{pan: true}` I imagine Firefox might ask _"Will you allow site x to use and move your camera?"_ _IF_ the user has at least one ptz camera (otherwise leave out _"and move"_ and don't grant that privilege).

If the user picks a different one then obviously the site won't be able to move it.
If they check `☑ Remember this decision` then it makes sense to persist both camera and ptz permission I think.

I gather the latter mirrors other browsers more, where even one-time permissions are for all cams or all mics.

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


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

Received on Thursday, 3 September 2020 23:49:37 UTC