Re: [mediacapture-main] Should we use [EnforceRange] on min/max in constraints?

@dontcallmedom Looks like you want `ConstrainUlongRange`. Otherwise, the constrainable pattern would be assuming there would *never* be uses of negative integers in the future.

I couldn't find any uses of constrainable negative integers atm (that doesn't mean there aren't any), but I found [`exposureCompensation`](https://w3c.github.io/mediacapture-image/#exposure-compensation), a negative double, which means the constraints algorithm will have to cope with negative numbers, so why not negative integers?

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

Received on Friday, 31 March 2017 17:46:14 UTC