From 459844e80ef143b9d6b53b42ac7e1bda929c7cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eero=20H=C3=A4kkinen?= Date: Tue, 18 Aug 2020 22:47:47 +0300 Subject: [PATCH] Clarify pan/tilt/zoom capabilities (#245) --- index.bs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 4f9ac49..f10cbb2 100644 --- a/index.bs +++ b/index.bs @@ -493,7 +493,10 @@ This Section defines a number of new set of Constrainable Properties for
This reflects the supported range of contrast. Values are numeric. Increasing values indicate increasing contrast.
pan
-
This reflects the pan value range supported by the UA.
+
This reflects the pan value range supported by the UA and by the track. + + If the track has been created without requesting permission to use (as defined in [[!permissions]]) a PermissionDescriptor with its name member set to {{PermissionName/camera}} and its {{CameraDevicePermissionDescriptor/panTiltZoom}} member set to true or if that permission request is denied, the track does not support pan. + In that case the UA MUST NOT expose the pan value range.
saturation
This reflects the permitted range of saturation setting. Values are numeric. Increasing values indicate increasing saturation.
@@ -505,10 +508,16 @@ This Section defines a number of new set of Constrainable Properties for
This reflects the focus distance value range supported by the UA.
tilt
-
This reflects the tilt value range supported by the UA.
+
This reflects the tilt value range supported by the UA and by the track. + + If the track has been created without requesting permission to use (as defined in [[!permissions]]) a PermissionDescriptor with its name member set to {{PermissionName/camera}} and its {{CameraDevicePermissionDescriptor/panTiltZoom}} member set to true or if that permission request is denied, the track does not support tilt. + In that case the UA MUST NOT expose the tilt value range.
zoom
-
This reflects the zoom value range supported by the UA.
+
This reflects the zoom value range supported by the UA by the track. + + If the track has been created without requesting permission to use (as defined in [[!permissions]]) a PermissionDescriptor with its name member set to {{PermissionName/camera}} and its {{CameraDevicePermissionDescriptor/panTiltZoom}} member set to true or if that permission request is denied, the track does not support zoom. + In that case the UA MUST NOT expose the zoom value range.
torch
A boolean indicating whether camera supports torch mode- on meaning supported.