diff --git a/index.html b/index.html index 84c1d18..151496d 100644 --- a/index.html +++ b/index.html @@ -653,8 +653,7 @@

Let |accepted:boolean| be the result of [= fire an event | firing an event =] named {{RTCIceTransport/icecandidatepairprune}} at |transport|, using {{RTCIceCandidatePairEvent}}, with the - {{Event/cancelable}} attribute initialized to true, and the {{RTCIceCandidatePairEvent/candidatePair}} - attribute initialized to |candidatePair|. + {{Event/cancelable}} attribute initialized to true, and the {{RTCIceCandidatePairEvent/local}} and {{RTCIceCandidatePairEvent/remote}} attributes initialized to the local and remote candidates, respectively, of |candidatePair|.

  • @@ -685,8 +684,8 @@

    Attributes

    When the [= ICE agent =] has formed a candidate pair, the [= user agent =] MUST queue a task to [= fire an - event =] named {{icecandidatepair}} using the {{RTCIceCandidatePairEvent}} interface with the - {{RTCIceCandidatePairEvent/candidatePair}} attribute set to the formed candidate pair. + event =] named {{icecandidatepair}} using the {{RTCIceCandidatePairEvent}} interface, with the + {{RTCIceCandidatePairEvent/local}} and {{RTCIceCandidatePairEvent/remote}} attributes set to the local and remote candidates, respectively, of the formed candidate pair.

    @@ -714,7 +713,8 @@

    [Exposed=Window]
     interface RTCIceCandidatePairEvent : Event {
       constructor(DOMString type, RTCIceCandidatePairEventInit eventInitDict);
    -  readonly attribute RTCIceCandidatePair candidatePair;
    +  readonly attribute RTCIceCandidate local;
    +  readonly attribute RTCIceCandidate remote;
     };

    Constructors

    @@ -727,11 +727,19 @@

    Constructors

    Attributes

    - candidatePair of type {{RTCIceCandidatePair}}, readonly + local of type {{RTCIceCandidate}}, readonly

    - The {{candidatePair}} attribute represents the {{RTCIceCandidatePair}} object associated with the event. + The {{local}} attribute represents the local {{RTCIceCandidate}} of the candidate pair associated with the event. +

    +
    +
    + remote of type {{RTCIceCandidate}}, readonly +
    +
    +

    + The {{remote}} attribute represents the remote {{RTCIceCandidate}} of the candidate pair associated with the event.

    @@ -740,18 +748,27 @@

    Attributes

     dictionary RTCIceCandidatePairEventInit : EventInit {
    -  required RTCIceCandidatePair candidatePair;
    +  required RTCIceCandidate local;
    +  required RTCIceCandidate remote;
     };

    Dictionary RTCIceCandidatePairEventInit Members

    - candidatePair of type {{RTCIceCandidatePair}}, required + local of type {{RTCIceCandidate}}, required +
    +
    +

    + The local {{RTCIceCandidate}} of the candidate pair announced by the event. +

    +
    +
    + remote of type {{RTCIceCandidate}}, required

    - The {{RTCIceCandidatePair}} object announced by the event. + The remote {{RTCIceCandidate}} of the candidate pair announced by the event.