From d35c905cefeef0812154e4d48d03b58bc9128fb7 Mon Sep 17 00:00:00 2001 From: Francois Beaufort Date: Fri, 25 Sep 2020 03:07:01 -0700 Subject: [PATCH] [PTZ] Deny mandatory PTZ constraints in basic getUserMedia constraints This PR makes sure required PTZ constraints in the basic constraint set are denied (and throw a TypeError) and PTZ capability constraints ({ zoom: true } etc.) are ideal in the basic constraint set. Therefore, a PTZ constraint in the basic set cannot cause getUserMedia() to fail conditionally. Spec: https://github.com/w3c/mediacapture-image/pull/261 https://github.com/w3c/mediacapture-main/pull/707/ Bug: 934063 Change-Id: I7324ae32b064dbf3b89325166834e2694eca593b --- mediacapture-image/getusermedia.https.html | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mediacapture-image/getusermedia.https.html diff --git a/mediacapture-image/getusermedia.https.html b/mediacapture-image/getusermedia.https.html new file mode 100644 index 00000000000000..033501cf64e88c --- /dev/null +++ b/mediacapture-image/getusermedia.https.html @@ -0,0 +1,26 @@ + + +getUserMedia + + +