[w3c/permissions] Add CameraDevicePermissionDescriptor for 'camera' permission (#204)

This allows to differentiate between normal camera permissions and
pan-tilt-zoom camera permissions.

In https://github.com/w3ctag/design-reviews/issues/358, TAG wants that there are distinct prompt for camera and pan/tilt/zoom. This CL adds a CameraDevicePermissionDescriptor dictionary so that the normal camera permission can be requested using {name: "camera", panTiltZoom: false} while the pan/tilt/zoom camera permission can be requested using {name: "camera", panTiltZoom: true}.

The CameraDevicePermissionDescriptor can then be referenced by media capture specifications.


<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/eehakkin/intel-w3c-permissions/pull/204.html" title="Last updated on Mar 20, 2020, 1:34 PM UTC (daadf87)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/permissions/204/9f076df...eehakkin:daadf87.html" title="Last updated on Mar 20, 2020, 1:34 PM UTC (daadf87)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/permissions/pull/204

-- Commit Summary --

  * Add CameraDevicePermissionDescriptor for 'camera' permission

-- File Changes --

    M index.bs (8)

-- Patch Links --

https://github.com/w3c/permissions/pull/204.patch
https://github.com/w3c/permissions/pull/204.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/204

Received on Friday, 20 March 2020 13:35:23 UTC