Skip to content

Commit

Permalink
Clarify pan/tilt/zoom settings (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
eehakkin committed Aug 19, 2020
1 parent a8fc1c5 commit 56e30e2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions index.bs
Expand Up @@ -673,7 +673,10 @@ When the {{getSettings()}} method is invoked on a video stream track, the user a
<dd>This reflects the current <a>contrast</a> setting of the camera.</dd>

<dt><dfn dict-member for="MediaTrackSettings"><code>pan</code></dfn></dt>
<dd>This reflects the current <a>pan</a> setting of the camera.</dd>
<dd>This reflects the current <a>pan</a> setting of the camera.

If the track has been created without <a>requesting permission to use</a> (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 <a>pan</a>.
In that case the UA MUST NOT expose the <a>pan</a> setting.</dd>

<dt><dfn dict-member for="MediaTrackSettings"><code>saturation</code></dfn></dt>
<dd>This reflects the current <a>saturation</a> setting of the camera.</dd>
Expand All @@ -685,10 +688,16 @@ When the {{getSettings()}} method is invoked on a video stream track, the user a
<dd>This reflects the current <a>focus distance</a> setting of the camera.</dd>

<dt><dfn dict-member for="MediaTrackSettings"><code>tilt</code></dfn></dt>
<dd>This reflects the current <a>tilt</a> setting of the camera.</dd>
<dd>This reflects the current <a>tilt</a> setting of the camera.

If the track has been created without <a>requesting permission to use</a> (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 <a>tilt</a>.
In that case the UA MUST NOT expose the <a>tilt</a> setting.</dd>

<dt><dfn dict-member for="MediaTrackSettings"><code>zoom</code></dfn></dt>
<dd>This reflects the current <a>zoom</a> setting of the camera.</dd>
<dd>This reflects the current <a>zoom</a> setting of the camera.

If the track has been created without <a>requesting permission to use</a> (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 <a>zoom</a>.
In that case the UA MUST NOT expose the <a>zoom</a> setting.</dd>

<dt><dfn dict-member for="MediaTrackSettings"><code>torch</code></dfn></dt>
<dd>Current camera <a>torch</a> configuration setting.</dd>
Expand Down

0 comments on commit 56e30e2

Please sign in to comment.