Re: [mediacapture-image] Clarify meaning of PTZ constraints presence (#256)

Thanks @jan-ivar for the sggestions.

I am in favour of Option 3. 
`(double or boolean or ConstrainDoubleOrBoolean) pan;`

IIRC for Option 1, there might be some confusion if 
`{pan:{exact:123}} ` equal to `{pan:{exact:123}, ptz:{exact:true}}`  as I feel the `ptz` ConstrainBoolean might confuse more than clarify.


Option 3 aligns the pan, tilt and zoom to work in the same way as the other properties regarding `exact` and `ideal` and we can do away with the `advanced` constraints.

```
{pan:true}
{pan:123}
{pan:{ideal:true}}
{pan:{ideal:123}}
{pan:{exact:true}}
{pan:{exact:123}}
{pan:{min:-123,max:123}}
```

We will experiment with the changes in Chrome's implementation.

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


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

Received on Friday, 4 September 2020 12:26:37 UTC