Re: [mediacapture-image] [PTZ] Should `applyConstraints` request permission? (#223)

Calling `applyConstraints({pan: true, tilt: true, zoom: true}}` could request PTZ permission but I worry that if we apply the existing automatic ignore logic then that would expose capabilities of the user's device through the immediate denial. The best option seems to be to present the prompt to the user whether or not they have a PTZ camera available.

The purpose of ignoring the request for PTZ in `getUserMedia()` is to avoid prompting users for a capability their hardware doesn't support on every camera permission request. The use case for `applyConstraints()` is different. As @eehakkin suggested, it could be used by a site with an explicit "enable PTZ" button.

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

Received on Monday, 27 April 2020 20:29:38 UTC