-
François Beaufort authored
This CL makes sure user is prompted with camera PTZ access if any of the constrained values for pan, tilt, and zoom are present in getUserMedia options. This CL does not check yet for hardware support. This will come in a follow-up CL, as well as applying constraints after getUserMedia succeeds. The camera PTZ permission request is grouped with camera and microphone permission requests. Screenshots: https://i.imgur.com/J9rrWS5.png https://i.imgur.com/aGSUZVY.png Explainer: https://github.com/w3c/mediacapture-image/blob/master/ptz-explainer.md Test: https://ptz.glitch.me/ Change-Id: Ia940cd62952d828598203506ea73992ac1e87e73 Bug: 934063 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2127109 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by:
Mike West <mkwst@chromium.org> Reviewed-by:
Jochen Eisinger <jochen@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Reviewed-by:
Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Reviewed-by:
Andy Paicu <andypaicu@chromium.org> Cr-Commit-Position: refs/heads/master@{#766318}
cc206ece