Re: [mediacapture-image] Pan and Tilt Constraints

Yes `applyConstraints({})` removes all *your* constraints, leaving the device "unconstrained" if you are the only user. Other tabs may be accessing the same device, but barring that edge-case, the API should¹ play well with outside controls (which could even be a web api in a different tab).

As to "default values", constraints is a device settings API. Device setting defaults may vary from browser to browser, device to device, or even the situation, so never rely on them. If you care about a setting, constrain it.

<sub>1. In theory. The browser is the ultimate owner of the device. How well it plays with others depends.</sub>

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

Received on Wednesday, 24 May 2017 16:11:55 UTC