[mediacapture-image] Pull Request: Define when gUM rejects with PTZ constraints

beaufortfrancois has just submitted a new pull request for https://github.com/w3c/mediacapture-image:

== Define when gUM rejects with PTZ constraints ==
As discussed with @guidou, we should make it clear how `getUserMedia()` can reject when PTZ constraints are required.

This change means `getUserMedia({video: {pan: 1}})` for instance would reject with an `OverConstrainedError`. We should think about how to make sure we don't leak camera PTZ capabilities when user didn't grant access yet.

See https://github.com/w3c/mediacapture-image/pull/228

Received on Monday, 15 June 2020 09:20:21 UTC