From 8329ec935f43d081efc8b857a47e027d1933fa62 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 settings (#245) --- index.bs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index fa5c88e..aeb3147 100644 --- a/index.bs +++ b/index.bs @@ -682,7 +682,10 @@ When the {{getSettings()}} method is invoked on a video stream track, the user a
This reflects the current contrast setting of the camera.
pan
-
This reflects the current pan setting of the camera.
+
This reflects the current pan setting of the camera. + + 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 setting.
saturation
This reflects the current saturation setting of the camera.
@@ -694,10 +697,16 @@ When the {{getSettings()}} method is invoked on a video stream track, the user a
This reflects the current focus distance setting of the camera.
tilt
-
This reflects the current tilt setting of the camera.
+
This reflects the current tilt setting of the camera. + + 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 setting.
zoom
-
This reflects the current zoom setting of the camera.
+
This reflects the current zoom setting of the camera. + + 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 setting.
torch
Current camera torch configuration setting.