From 106897d1453803be5c2379101cfc9a2a740f30c4 Mon Sep 17 00:00:00 2001 From: Sameer Vijaykar <194338+sam-vi@users.noreply.github.com> Date: Mon, 6 Nov 2023 15:06:37 +0100 Subject: [PATCH 1/2] Name and export the RTCIceTransport state update algo. Fixes: #2904. The RTCIceTransport algorithm for a change of the selected candidate pair or RTCIceTransportState is referenced in webrtc-extensions currently without a proper link because it is not exported from webrtc-pc. So name and export the algorithm. --- webrtc.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webrtc.html b/webrtc.html index c78989ef9..f433d46b8 100644 --- a/webrtc.html +++ b/webrtc.html @@ -12160,7 +12160,8 @@

The {{RTCIceTransportState}} of an {{RTCIceTransport}} may change because a candidate pair with a usable connection was found and selected or it may change without the selected candidate pair - changing. The selected pair and {{RTCIceTransportState}} are related + changing. The change of the selected pair and + {{RTCIceTransportState}} are related and are handled in the same task.

From 363600ec125f2a245253a5db4006842b63eb3e9b Mon Sep 17 00:00:00 2001 From: Sameer Vijaykar <194338+sam-vi@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:24:10 +0100 Subject: [PATCH 2/2] Move the algo definition closer to the steps. --- webrtc.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webrtc.html b/webrtc.html index f433d46b8..4057f0be4 100644 --- a/webrtc.html +++ b/webrtc.html @@ -12160,15 +12160,14 @@

The {{RTCIceTransportState}} of an {{RTCIceTransport}} may change because a candidate pair with a usable connection was found and selected or it may change without the selected candidate pair - changing. The change of the selected pair and - {{RTCIceTransportState}} are related + changing. The selected pair and {{RTCIceTransportState}} are related and are handled in the same task.

When the [= ICE Agent =] indicates that an {{RTCIceTransport}} has changed either the selected candidate pair, the {{RTCIceTransportState}} or both, the user agent MUST queue a task - that runs the following steps: + that runs the steps to change the selected candidate pair and state: