Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify pan/tilt/zoom settings (#245) #249

Merged
merged 1 commit into from
Sep 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
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