@@ -215,8 +215,6 @@ It is defined by running the following steps:
215
215
</dl>
216
216
217
217
### Handling interaction with the track ### {#processor-handling-interaction-with-track}
218
- <dl>
219
- <dd>
220
218
When the `[[track]] ` of a {{MediaStreamTrackProcessor}} |processor| delivers a
221
219
frame to |processor|, the UA MUST execute the [=handleNewFrame=] algorithm
222
220
with |processor| as parameter.
@@ -232,13 +230,11 @@ It is defined by running the following steps:
232
230
At any time, the UA MAY [=list/remove=] any frame from |processor|.`[[queue]] `.
233
231
The UA may decide to remove frames from |processor|.`[[queue]] `, for example,
234
232
to prevent resource exhaustion or to improve performance in certain situations.
235
- </dd>
236
233
237
234
<p class="note">
238
235
The application may detect that frames have been dropped by noticing that there
239
236
is a gap in the timestamps of the frames.
240
237
</p>
241
- </dl>
242
238
243
239
When the `[[track]] ` of a {{MediaStreamTrackProcessor}} |processor|
244
240
[=track|ends=] , the [=processorClose=] algorithm must be
@@ -318,19 +314,20 @@ The <dfn>writeFrame</dfn> algorithm is given a |generator| and a |frame| as inpu
318
314
1. Run the [=Close VideoFrame=] algorithm with |frame|.
319
315
1. Return [=a promise resolved with=] undefined.
320
316
317
+ The <dfn>closeWritable</dfn> algorithm is given a |generator| as input.
318
+ It is defined by running the following steps.
319
+ 1. For each track `t` sourced from |generator|, [=track|end=] `t`.
320
+ 2. Return [=a promise resolved with=] undefined.
321
+
322
+ </dd>
323
+
321
324
<p class="note">
322
325
When the media data is sent to a track, the UA may apply processing
323
326
(e.g., cropping and downscaling) to ensure that the media data sent
324
327
to the track satisfies the track's constraints. Each track may receive a
325
328
different version of the media data depending on its constraints.
326
329
</p>
327
330
328
- The <dfn>closeWritable</dfn> algorithm is given a |generator| as input.
329
- It is defined by running the following steps.
330
- 1. For each track `t` sourced from |generator|, [=track|end=] `t`.
331
- 2. Return [=a promise resolved with=] undefined.
332
-
333
- </dd>
334
331
<dt> <dfn attribute for=VideoTrackGenerator>muted</dfn> </dt>
335
332
<dd> Mutes the {{VideoTrackGenerator}} . The getter steps are to return
336
333
[=this=] .`[[isMuted]] `. The setter steps, given a value |newValue|, are as follows:
0 commit comments