From 36c23fbf182cda360df39916a40f5d0d0da474ac Mon Sep 17 00:00:00 2001 From: Youenn Fablet Date: Thu, 24 Apr 2025 10:15:52 +0200 Subject: [PATCH 1/2] Clarify that synchronous rejection happens for audio receivers --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 1c86970..904cf90 100644 --- a/index.bs +++ b/index.bs @@ -1070,7 +1070,7 @@ If the promise is associated to several rid values, it will be resolved when the The send request key frame algorithm, given |promise| and |depacketizer|, is defined by running these steps: 1. If |depacketizer| is undefined, reject |promise| with {{InvalidStateError}}, abort these steps. -1. If |depacketizer| is not processing video packets, reject |promise| with {{InvalidStateError}}, abort these steps. +1. If |depacketizer| belongs to an audio {{RTCRtpReceiver}}, reject |promise| with {{InvalidStateError}}, abort these steps. 1. [=In parallel=], run the following steps: 1. If sending a Full Intra Request (FIR) by |depacketizer|'s receiver is not deemed appropriate, [=resolve=] |promise| with undefined and abort these steps. Section 4.3.1 of [[RFC5104]] provides guidelines of how and when it is appropriate to sending a Full Intra Request. From ae9fdcb9a8b497a69311ff8f37117463d8bf9d93 Mon Sep 17 00:00:00 2001 From: youennf Date: Thu, 24 Apr 2025 16:02:17 +0200 Subject: [PATCH 2/2] Update index.bs Co-authored-by: Jan-Ivar Bruaroey --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 904cf90..620628e 100644 --- a/index.bs +++ b/index.bs @@ -1070,7 +1070,7 @@ If the promise is associated to several rid values, it will be resolved when the The send request key frame algorithm, given |promise| and |depacketizer|, is defined by running these steps: 1. If |depacketizer| is undefined, reject |promise| with {{InvalidStateError}}, abort these steps. -1. If |depacketizer| belongs to an audio {{RTCRtpReceiver}}, reject |promise| with {{InvalidStateError}}, abort these steps. +1. If |depacketizer| does not belong to a video {{RTCRtpReceiver}}, reject |promise| with {{InvalidStateError}}, abort these steps. 1. [=In parallel=], run the following steps: 1. If sending a Full Intra Request (FIR) by |depacketizer|'s receiver is not deemed appropriate, [=resolve=] |promise| with undefined and abort these steps. Section 4.3.1 of [[RFC5104]] provides guidelines of how and when it is appropriate to sending a Full Intra Request.