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

> ```js
> // [NEW] Does not fail with OverConstrainedError if no PTZ camera. 
> await navigator.mediaDevices.getUserMedia({ video: { pan: true } });
> ```

Note the above would never fail with `OverConstrainedError` because constraints are non-required by default. To fail requires:
```js
await navigator.mediaDevices.getUserMedia({video: {pan: {exact: 0}}});
```
The latter would indeed be bad for privacy if it didn't prompt first (which the spec currently [says to do](https://w3c.github.io/mediacapture-image/#pan) the way I read it.)

But prompting users for permission only to fail afterwards seems like bad UX, so https://github.com/w3c/mediacapture-image/issues/246 seems like the right direction.


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


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

Received on Monday, 24 August 2020 23:45:58 UTC