Skip to content

Commit

Permalink
Merge pull request #249 from eehakkin/feature/clarify-pan-tilt-zoom-s…
Browse files Browse the repository at this point in the history
…ettings

Clarify pan/tilt/zoom settings (#245)
  • Loading branch information
riju authored Sep 24, 2020
2 parents 0a3c473 + 56e30e2 commit 4ebee84
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,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 @@ -699,10 +702,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 4ebee84

Please sign in to comment.