- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Aug 2020 19:48:14 +0000
- To: public-webrtc-logs@w3.org
> Also, I am not sure it is a great idea to allow to set exact PTZ values as part of getUserMedia. (That's not a feature unique to `exact` values, but assuming you mean _specific_ values) Probably not, which I believe is why we added the convenient `true` alias for `{}` and use that in all [examples](https://w3c.github.io/mediacapture-image/#example1). But I see no reason to outlaw it either, since the following accomplishes the same: ```js const [track] = (await navigator.mediaDevices.getUserMedia({video: {pan: true}})).getVideoTracks(); await track.applyConstraints({video: {pan: 100}}); ``` In any case, the user was arguably warned when they allowed the site to "Use and move the camera". -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/229#issuecomment-681087864 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 26 August 2020 19:48:16 UTC