Skip to content

Commit

Permalink
Fixes: w3c#196.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sam-vi committed Apr 18, 2024
1 parent 7c31919 commit ff3e71c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,21 @@ <h3>
The [= ICE agent =] will continue to send data using |candidatePair| until instructed to use another candidate pair with {{RTCIceTransport/selectCandidatePair}}.
</p>
<p>
When the [= ICE agent =] has picked a candidate pair to remove, the [= user agent =] MUST [= queue a task =] to <dfn
The [= ICE agent =] can decide to remove a candidate pair for several reasons. Examples include:
</p>
<ul>
<li>
A candidate could be [= freed =] because it is not associated with the selected candidate pair.
</li>
<li>
A candidate pair is no longer available due to a loss of the associated network interface.
</li>
<li>
All candidate pairs are being removed due to an ICE restart, as described in section 9 of [[RFC8445]].
</li>
</ul>
<p>
When the [= ICE agent =] has decided to remove a candidate pair, the [= user agent =] MUST [= queue a task =] to <dfn
id="rtcicetransport-remove">remove a candidate pair</dfn>:
</p>
<ol class="algorithm">
Expand Down

0 comments on commit ff3e71c

Please sign in to comment.