- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Wed, 06 May 2020 05:39:28 +0000
- To: public-webrtc-logs@w3.org
Thanks for sharing your thoughts @alvestrand. First two examples would work fine. ```js // Website wants to access camera PTZ if supported await navigator.mediaDevices.getUserMedia({video: { panTiltZoom: true }); ``` ```js // Website wants to access camera PTZ if supported and reset zoom when accessed await navigator.mediaDevices.getUserMedia({video: { panTiltZoom: true, zoom: 1 }); ``` I guess we should define what would happen if either `pan`, `tilt`, or `zoom` DoubleConstraints are set when website has access or not to Camera PTZ already. ```js // Shall we allow this if website has already access to camera PTZ? await navigator.mediaDevices.getUserMedia({video: { zoom: 1 }); ``` Moreover, how does this model fit with `applyConstraints`? Shall we have a `panTiltZoom` boolean as well to request permission or do we simply not allow it? -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/225#issuecomment-624451924 using your GitHub account
Received on Wednesday, 6 May 2020 05:39:29 UTC