Skip to content

Commit 12afc9d

Browse files
youennfjan-ivar
andauthored
Update index.bs
Co-authored-by: Jan-Ivar Bruaroey <[email protected]>
1 parent 74318f6 commit 12afc9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ The <dfn>writeEncodedData</dfn> algorithm is given a |rtcObject| as parameter an
199199
1. If |frame|.`[[owner]]` is not equal to |rtcObject|, abort these steps and return [=a promise resolved with=] undefined. A processor cannot create frames, or move frames between streams.
200200
2. If the |frame|'s {{RTCEncodedVideoFrame/timestamp}} is equal to or larger than |rtcObject|.`[[lastReceivedFrameTimestamp]]`, abort these steps and return [=a promise resolved with=] undefined. A processor cannot reorder frames, although it may delay them or drop them.
201201
3. Set |rtcObject|.`[[lastReceivedFrameTimestamp]]` to the |frame|'s {{RTCEncodedVideoFrame/timestamp}}.
202-
4. Process the frame as if it came directly from the encoded data source, by running the following steps [=in parallel=]:
203-
* If |rtcObject| is a {{RTCRtpSender}}, enqueue it to |rtcObject|'s packetizer.
204-
* If |rtcObject| is a {{RTCRtpReceiver}}, enqueue it to |rtcObject|'s decoder.
202+
4. Enqueue the frame for processing as if it came directly from the encoded data source, by running one of the following steps:
203+
* If |rtcObject| is a {{RTCRtpSender}}, enqueue it to |rtcObject|'s packetizer, to be processed [=in parallel=].
204+
* If |rtcObject| is a {{RTCRtpReceiver}}, enqueue it to |rtcObject|'s decoder, to be processed [=in parallel=].
205205
5. Return [=a promise resolved with=] undefined.
206206

207207
## Extension attribute ## {#attribute}

0 commit comments

Comments
 (0)