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
@@ -967,7 +983,7 @@ The <dfn abstract-op>generate key frame algorithm</dfn>, given |promise|, |encod
967
983
1. Gather a list of video encoders, named |videoEncoders| from |encoder|, ordered according negotiated RIDs if any.
968
984
1. If |rid| is defined, remove from |videoEncoders| any video encoder that does not match |rid|.
969
985
1. If |rid| is undefined, remove from |videoEncoders| all video encoders except the first one.
970
-
1. If |videoEncoders| is empty, reject |promise| with {{NotFoundError}} and abort these steps.
986
+
1. If |videoEncoders| is empty, [=queue a task=] to reject |promise| with {{NotFoundError}} and abort these steps.
971
987
|videoEncoders| is expected to be empty if the corresponding {{RTCRtpSender}} is not active, or the corresponding {{RTCRtpSender}} track is ended.
972
988
1. Let |videoEncoder| be the first encoder in |videoEncoders|.
973
989
1. If |rid| is undefined, set |rid| to the RID value corresponding to |videoEncoder|.
@@ -998,7 +1014,7 @@ The <dfn abstract-op>send request key frame algorithm</dfn>, given |promise| and
998
1014
1. If sending a Full Intra Request (FIR) by |depacketizer|'s receiver is not deemed appropriate, [=resolve=] |promise| with undefined and abort these steps.
999
1015
Section 4.3.1 of [[RFC5104]] provides guidelines of how and when it is appropriate to sending a Full Intra Request.
1000
1016
1. Generate a Full Intra Request (FIR) packet as defined in section 4.3.1 of [[RFC5104]] and send it through |depacketizer|'s receiver.
1001
-
1. [=Resolve=] |promise| with undefined.
1017
+
1. [=Queue a task=] to [=resolve=] |promise| with undefined.
0 commit comments