You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -408,6 +408,7 @@ The <dfn attribute for="RTCRtpScriptTransformer">writable</dfn> getter steps are
408
408
409
409
The <dfn>generate key frame algorithm</dfn>, given |promise|, |encoder| and |rids|, is defined by running these steps:
410
410
1. If |encoder| is undefined, reject |promise| with {{InvalidStateError}}, abort these steps.
411
+
1. If |encoder| is not processing video frames, reject |promise| with {{InvalidStateError}}, abort these steps.
411
412
1. If |rids| is defined, validate each of the RID values in |rids|.
412
413
If any RID value is invalid, reject |promise| with {{NotAllowedError}} and abort these steps.
413
414
1. Gather a list of video encoders, named |videoEncoders| from |encoder|.
@@ -420,6 +421,7 @@ The <dfn>generate key frame algorithm</dfn>, given |promise|, |encoder| and |rid
420
421
421
422
The <dfn>send request key frame algorithm</dfn>, given |promise| and |depacketizer|, is defined by running these steps:
422
423
1. If |depacketizer| is undefined, reject |promise| with {{InvalidStateError}}, abort these steps.
424
+
1. If |depacketizer| is not processing video packets, reject |promise| with {{InvalidStateError}}, abort these steps.
423
425
1. If sending a Full Intra Request (FIR) by |depacketizer|'s receiver is not deemed appropriate, [=resolve=] |promise| with undefined and abort these steps.
424
426
Section 4.3.1 of [[RFC5104]] provides guidelines of how and when it is appropriate to sending a Full Intra Request.
425
427
1. Generate a Full Intra Request (FIR) packet as defined in section 4.3.1 of [[RFC5104]] and send it through |depacketizer|'s receiver.
0 commit comments