Skip to content

Commit cc53785

Browse files
committed
further editorial fixes
1 parent 53bfdf4 commit cc53785

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

index.bs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ It is defined by running the following steps:
215215
</dl>
216216

217217
### Handling interaction with the track ### {#processor-handling-interaction-with-track}
218-
<dl>
219-
<dd>
220218
When the `[[track]]` of a {{MediaStreamTrackProcessor}} |processor| delivers a
221219
frame to |processor|, the UA MUST execute the [=handleNewFrame=] algorithm
222220
with |processor| as parameter.
@@ -232,13 +230,11 @@ It is defined by running the following steps:
232230
At any time, the UA MAY [=list/remove=] any frame from |processor|.`[[queue]]`.
233231
The UA may decide to remove frames from |processor|.`[[queue]]`, for example,
234232
to prevent resource exhaustion or to improve performance in certain situations.
235-
</dd>
236233

237234
<p class="note">
238235
The application may detect that frames have been dropped by noticing that there
239236
is a gap in the timestamps of the frames.
240237
</p>
241-
</dl>
242238

243239
When the `[[track]]` of a {{MediaStreamTrackProcessor}} |processor|
244240
[=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
318314
1. Run the [=Close VideoFrame=] algorithm with |frame|.
319315
1. Return [=a promise resolved with=] undefined.
320316

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+
321324
<p class="note">
322325
When the media data is sent to a track, the UA may apply processing
323326
(e.g., cropping and downscaling) to ensure that the media data sent
324327
to the track satisfies the track's constraints. Each track may receive a
325328
different version of the media data depending on its constraints.
326329
</p>
327330

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>
334331
<dt><dfn attribute for=VideoTrackGenerator>muted</dfn></dt>
335332
<dd>Mutes the {{VideoTrackGenerator}}. The getter steps are to return
336333
[=this=].`[[isMuted]]`. The setter steps, given a value |newValue|, are as follows:

0 commit comments

Comments
 (0)