Re: [mediacapture-image] Add pan and tilt constraints

> @yellowdoge, would the promise returned by applyConstraints() only resolve once the settings have taken effect (if pan takes 500ms to apply) or does it resolve once the constraint has been set, without waiting for it to take effect?

It would not wait, the Promise gets resolved upon passing the new settings successfully to the OS, and the user has to monitor, if desired, the correspondent setting.  A similar issue happens with `zoom` (@hta raised it in #126), if it's implemented by a mechanical device.


-- 
GitHub Notification of comment by yellowdoge
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/pull/182#issuecomment-308884599 using your GitHub account

Received on Thursday, 15 June 2017 22:38:16 UTC