Re: [mediacapture-image] Document OverConstrainedError for PTZ in explainer (#229)

> I haven't seen any use case motivating this complexity, all examples in the spec and primer are solely using boolean constraints.

This is not true ;
See the explainer example below on how to reset pan.

![image](https://user-images.githubusercontent.com/634478/91727452-050a1e80-eba2-11ea-9b3b-026d13ce3661.png)

Note that this example though may be better with a device id though.
```js
const videoStream = await navigator.mediaDevices.getUserMedia({
  // Website asks to reset known camera pan.
  video: { pan: 1, deviceId: { exact: "myCameraDeviceId" } }
});
``` 

However, as you said, this could be done with gUM and applyConstraints.

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


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

Received on Monday, 31 August 2020 13:56:03 UTC