From ecd06e16e4e15db51f0fc8fffd05de4d0b5cd1c3 Mon Sep 17 00:00:00 2001 From: Sameer Vijaykar <194338+sam-vi@users.noreply.github.com> Date: Wed, 10 Jan 2024 13:40:52 +0100 Subject: [PATCH] Validate removeCandidatePair input and update internal slot. This depends on several other PRs to be merged first: - #170: Addition of removeCandidatePair method - #192: Definition of candidate match algo - alternately, w3c/webrtc-pc#2906 to enforce RTCIceCandidate object equality - #193: Definition of candidate pair match algo - #194: Addition of CandidatePairs internal slot --- index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 9ef9c31..f23ffd8 100644 --- a/index.html +++ b/index.html @@ -1071,7 +1071,12 @@

Methods

  • - If the {{RTCIceCandidatePair/local}} and {{RTCIceCandidatePair/remote}} attributes of candidatePair do not match a pairing of {{RTCIceCandidatePairEvent/local}} and {{RTCIceCandidatePairEvent/remote}} respectively sent in {{RTCIceTransport/onicecandidatepairadd}}, [= exception/throw =] a {{NotFoundError}}. + If |candidatePair| does not [= candidate pair match | match =] any item in [=this=].{{RTCIceTransport/[[CandidatePairs]]}}, [= exception/throw =] a {{NotFoundError}}. +

    +
  • +
  • +

    + [= list/Remove =] all items that [= candidate pair match | match =] |candidatePair| from [=this=].{{RTCIceTransport/[[CandidatePairs]]}}.