Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update localDescription etc. attributes rather than just their sdp. #2983

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 22 additions & 12 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -4586,9 +4586,10 @@ <h2>
<var>connection</var>.{{RTCPeerConnection/[[PendingRemoteDescription]]}}
is not <code>null</code>, and represents
the ICE [= generation =] for which
<var>candidate</var> was processed, add
<var>candidate</var> to
<var>connection</var>.{{RTCPeerConnection/[[PendingRemoteDescription]]}}.sdp.
<var>candidate</var> was processed, set
<var>connection</var>.{{RTCPeerConnection/[[PendingRemoteDescription]]}}
to a [=clone a description | clone of itself=] with
{{RTCSessionDescriptionInit/sdp}} updated to include <var>candidate</var>.
</p>
</li>
<li>
Expand All @@ -4597,9 +4598,10 @@ <h2>
<var>connection</var>.{{RTCPeerConnection/[[CurrentRemoteDescription]]}}
is not <code>null</code>, and represents
the ICE [= generation =] for which
<var>candidate</var> was processed, add
<var>candidate</var> to
<var>connection</var>.{{RTCPeerConnection/[[CurrentRemoteDescription]]}}.sdp.
<var>candidate</var> was processed, set
<var>connection</var>.{{RTCPeerConnection/[[CurrentRemoteDescription]]}}
to a [=clone a description | clone of itself=] with
{{RTCSessionDescriptionInit/sdp}} updated to include <var>candidate</var>.
</p>
</li>
<li>
Expand Down Expand Up @@ -12225,18 +12227,20 @@ <h3>
<p>
If <var>connection</var>.{{RTCPeerConnection/[[PendingLocalDescription]]}} is
not <code>null</code>, and represents the ICE [= generation =]
for which <var>candidate</var> was gathered, add
<var>candidate</var> to
<var>connection</var>.{{RTCPeerConnection/[[PendingLocalDescription]]}}.sdp.
for which <var>candidate</var> was gathered, set
<var>connection</var>.{{RTCPeerConnection/[[PendingLocalDescription]]}} to a
[=clone a description | clone of itself=] with {{RTCSessionDescriptionInit/sdp}}
updated to include <var>candidate</var>.
</p>
</li>
<li>
<p>
If <var>connection</var>.{{RTCPeerConnection/[[CurrentLocalDescription]]}} is
not <code>null</code>, and represents the ICE [= generation =]
for which <var>candidate</var> was gathered, add
<var>candidate</var> to
<var>connection</var>.{{RTCPeerConnection/[[CurrentLocalDescription]]}}.sdp.
for which <var>candidate</var> was gathered, set
<var>connection</var>.{{RTCPeerConnection/[[CurrentLocalDescription]]}} to a
[=clone a description | clone of itself=] with {{RTCSessionDescriptionInit/sdp}}
updated to include <var>candidate</var>.
</p>
</li>
<li>
Expand Down Expand Up @@ -12274,6 +12278,12 @@ <h3>
changing. The selected pair and {{RTCIceTransportState}} are related
and are handled in the same task.
</p>
<p>
To <dfn class="abstract-op" data-lt="clone a description">clone a description</dfn>
with members <var>type</var> and <var>sdp</var>, return a new {{RTCSessionDescription}}
object constructed with {{RTCSessionDescription/type}} set to <var>type</var>,
and {{RTCSessionDescription/sdp}} set to <var>sdp</var>.
</p>
<p>
When the [= ICE Agent =] indicates that an {{RTCIceTransport}} has
changed either the selected candidate pair, the
Expand Down
Loading