diff --git a/webrtc.html b/webrtc.html index 644530128..4a0f514d6 100644 --- a/webrtc.html +++ b/webrtc.html @@ -4586,9 +4586,10 @@

connection.{{RTCPeerConnection/[[PendingRemoteDescription]]}} is not null, and represents the ICE [= generation =] for which - candidate was processed, add - candidate to - connection.{{RTCPeerConnection/[[PendingRemoteDescription]]}}.sdp. + candidate was processed, set + connection.{{RTCPeerConnection/[[PendingRemoteDescription]]}} + to a [=clone a description | clone of itself=] with + {{RTCSessionDescriptionInit/sdp}} updated to include candidate.

  • @@ -4597,9 +4598,10 @@

    connection.{{RTCPeerConnection/[[CurrentRemoteDescription]]}} is not null, and represents the ICE [= generation =] for which - candidate was processed, add - candidate to - connection.{{RTCPeerConnection/[[CurrentRemoteDescription]]}}.sdp. + candidate was processed, set + connection.{{RTCPeerConnection/[[CurrentRemoteDescription]]}} + to a [=clone a description | clone of itself=] with + {{RTCSessionDescriptionInit/sdp}} updated to include candidate.

  • @@ -12225,18 +12227,20 @@

    If connection.{{RTCPeerConnection/[[PendingLocalDescription]]}} is not null, and represents the ICE [= generation =] - for which candidate was gathered, add - candidate to - connection.{{RTCPeerConnection/[[PendingLocalDescription]]}}.sdp. + for which candidate was gathered, set + connection.{{RTCPeerConnection/[[PendingLocalDescription]]}} to a + [=clone a description | clone of itself=] with {{RTCSessionDescriptionInit/sdp}} + updated to include candidate.

  • If connection.{{RTCPeerConnection/[[CurrentLocalDescription]]}} is not null, and represents the ICE [= generation =] - for which candidate was gathered, add - candidate to - connection.{{RTCPeerConnection/[[CurrentLocalDescription]]}}.sdp. + for which candidate was gathered, set + connection.{{RTCPeerConnection/[[CurrentLocalDescription]]}} to a + [=clone a description | clone of itself=] with {{RTCSessionDescriptionInit/sdp}} + updated to include candidate.

  • @@ -12274,6 +12278,12 @@

    changing. The selected pair and {{RTCIceTransportState}} are related and are handled in the same task.

    +

    + To clone a description + with members type and sdp, return a new {{RTCSessionDescription}} + object constructed with {{RTCSessionDescription/type}} set to type, + and {{RTCSessionDescription/sdp}} set to sdp. +

    When the [= ICE Agent =] indicates that an {{RTCIceTransport}} has changed either the selected candidate pair, the