- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Aug 2020 14:54:27 +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. If a page does: await navigator.mediaDevices.getUserMedia({video: {pan: {exact: 100}}}); User will have a prompt, user will grant the prompt and just after the prompt, the camera will move to the new position. If the User Agent showed a preview of what the camera is capturing, it would be the preview before applying the constraints, not after. This might end up be a bad surprise for the user. All examples in the spec and explainer are getUserMedia with boolean as pan/tilt/zoom constraint values. Should we tighten the model so that only {pan: true} is actually considered? Also, is there a case where we would want { pan: true, zoom: false }? Can we simplify this and allow a single constraint for getUserMedia: { panTiltZoom: true }? -- GitHub Notification of comment by youennf Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/229#issuecomment-680931316 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 14:54:30 UTC