From 553c8fbebb139ffd283f6e43b332b47e6628da35 Mon Sep 17 00:00:00 2001
From: Dominique Hazael-Massieux Let descriptor be a {{PermissionDescriptor}}
with its {{PermissionDescriptor/name}} member set to the permission name
- associated with kind (e.g. {{PermissionName/"camera"}} for
- Algorithms
"video"
, {{PermissionName/"microphone"}} for "audio"
), and,
- optionally, consider its {{DevicePermissionDescriptor/deviceId}} member set to any appropriate
- device's deviceId."video"
, [="microphone"=] for "audio"
).
If the number of unique devices sourcing tracks of @@ -402,7 +400,7 @@
Set dataHolder.`[[constraints]]` to value active constraints.
Set dataHolder.`[[contentHint]]` to value application-set content hint.
Set value.`[[IsDetached]]` to true
.
Set value.{{MediaStreamTrack/[[ReadyState]]}} to "ended" (without stopping the underlying source or firing an `ended` event).
Set value.[[\ReadyState]] to {{MediaStreamTrackState/"ended"}} (without stopping the underlying source or firing an `ended` event).
{{MediaStreamTrack}} transfer-receiving steps, given dataHolder and track, are:
@@ -414,7 +412,7 @@Initialize track.{{MediaStreamTrack/enabled}} to dataHolder.`[[enabled]]`.
Initialize track.{{MediaStreamTrack/muted}} to dataHolder.`[[muted]]`.
Set track application-set content hint to dataHolder.`[[contentHint]]`.
[=MediaStreamTrack/Initialize the underlying source=] of track to dataHolder.`[[source]]`.
[=Initialize the underlying source=] of track to dataHolder.`[[source]]`.
Set track's constraints to dataHolder.`[[constraints]]`.