diff --git a/index.html b/index.html index 46a81a0..1a3ccbc 100644 --- a/index.html +++ b/index.html @@ -769,7 +769,7 @@
false
, instruct the [= ICE agent =] to not {{nominate}} |candidatePair|, and instead to
continue to perform connectivity checks. The [= ICE agent =] may continue to send data using the candidate pair
indicated by |candidatePair| unless instructed to use another candidate pair with
- {{RTCIceTransport/setSelectedCandidatePair}}.
+ {{RTCIceTransport/selectCandidatePair}}.
- The {{setSelectedCandidatePair}} method attempts to select a different candidate pair to send data + The {{selectCandidatePair}} method attempts to select a different candidate pair to send data over. If successful, data will be sent on the provided candidate pair. It is meant to be called after the application defers the {{nomination}} of a candidate pair by cancelling the {{RTCIceTransport/icecandidatepairnominate}} event. @@ -956,8 +956,36 @@
- Instruct the [= ICE agent =] to use |candidatePair| to send data, and continue to the steps for a change in the selected - candidate pair (leading up to {{RTCIceTransport/onselectedcandidatepairchange}}). + Let |p:Promise| be a new promise. +
++ In parallel, instruct the [= ICE agent =] to use |candidatePair| to send data. +
++ When the [= ICE agent =] has completed selecting |candidatePair|, [= queue a task =] to run the following steps: +
++ Run the steps for a change in the selected candidate pair for an {{RTCIceTransport}}, leading up to a change in the {{RTCIceTransport/[[SelectedCandidatePair]]}} internal slot and {{RTCIceTransport/onselectedcandidatepairchange}}. +
++ Resolve p. +
++ Return p.