Skip to content

Commit ff3e71c

Browse files
committed
Fixes: w3c#196.
Enumerate examples of situations in which `icecandidatepairremove` is fired, including ICE restart. This makes it clear that the event is fired and [[CandidatePairs]] is cleared in the event of an ICE restart.
1 parent 7c31919 commit ff3e71c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

index.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,21 @@ <h3>
686686
The [= ICE agent =] will continue to send data using |candidatePair| until instructed to use another candidate pair with {{RTCIceTransport/selectCandidatePair}}.
687687
</p>
688688
<p>
689-
When the [= ICE agent =] has picked a candidate pair to remove, the [= user agent =] MUST [= queue a task =] to <dfn
689+
The [= ICE agent =] can decide to remove a candidate pair for several reasons. Examples include:
690+
</p>
691+
<ul>
692+
<li>
693+
A candidate could be [= freed =] because it is not associated with the selected candidate pair.
694+
</li>
695+
<li>
696+
A candidate pair is no longer available due to a loss of the associated network interface.
697+
</li>
698+
<li>
699+
All candidate pairs are being removed due to an ICE restart, as described in section 9 of [[RFC8445]].
700+
</li>
701+
</ul>
702+
<p>
703+
When the [= ICE agent =] has decided to remove a candidate pair, the [= user agent =] MUST [= queue a task =] to <dfn
690704
id="rtcicetransport-remove">remove a candidate pair</dfn>:
691705
</p>
692706
<ol class="algorithm">

0 commit comments

Comments
 (0)