From d0c039b0d7013059fa91c167d65d7772a69afeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Thu, 25 Jan 2024 13:50:29 +0100 Subject: [PATCH] Address comments and reupload --- index.html | 49 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 678ee31..b2a400f 100644 --- a/index.html +++ b/index.html @@ -742,7 +742,10 @@

  • - Let |candidatePair:RTCIceCandidatePair| be the candidate pair that was [= formed =]. + Let |candidatePair:RTCIceCandidatePair| be a new {{RTCIceCandidatePair}} dictionary + with its {{RTCIceCandidatePair/local}} and {{RTCIceCandidatePair/remote}} members + initialized to new {{RTCIceCandidate}}s representing the local and remote part of the + [= formed =] pair respectively.

  • @@ -750,6 +753,17 @@

    Let |transport:RTCIceTransport| be the {{RTCIceTransport}} object associated with |candidatePair|.

  • +
  • +

    + [=Assert=]: |candidatePair| does not [= candidate pair match | match =] any + item in |transport|.{{RTCIceTransport/[[CandidatePairs]]}} +

    +
  • +
  • +

    + [= list/Append =] |candidatePair| to {{RTCIceTransport/[[CandidatePairs]]}}. +

    +
  • [= Fire an event =] named @@ -881,14 +895,29 @@

  • - Otherwise, instruct the [= ICE agent =] to remove the candidate pair indicated by |candidatePair|. + Otherwise (if |accepted| is true), run the following steps:

    +
      +
    1. +

      + [= list/Remove =] |candidatePair| from |transport|.{{RTCIceTransport/[[CandidatePairs]]}}. +

      +
    2. +
    3. +

      + Instruct the [= ICE agent =] to remove the candidate pair indicated by |candidatePair|. +

      +
    4. +
  • - The {{RTCIceTransport}} object is extended by adding the following internal slot: + The {{RTCIceTransport}} object is extended by adding the following internal slots: