Skip to content

Commit

Permalink
Clarify the meaning of session description sdp need not match
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Aug 23, 2017
1 parent f798246 commit 0a69a98
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions webrtc.html
Expand Up @@ -1893,6 +1893,12 @@ <h2>Attributes</h2>
"RTCPeerConnection">pendingLocalDescription</a></code> if it is
not null and otherwise it MUST return <code><a data-for=
"RTCPeerConnection">currentLocalDescription</a></code>.</p>

<p>Note that <code>currentLocalDescription.sdp</code> and
<code>pendingLocalDescription.sdp</code> need not be
string-wise identical to the <code>description.sdp</code> value
passed to the corresponding
<a><code>setLocalDescription</code></a> call.</p>
</dd>
<dt><code>currentLocalDescription</code> of type <span class=
"idlAttrType"><a>RTCSessionDescription</a></span>, readonly,
Expand All @@ -1912,9 +1918,7 @@ <h2>Attributes</h2>
specification set it to, complete with any local candidates
that have been generated by the <a>ICE Agent</a> since the
offer or answer was created. Prior to being set, it returns
null. Note that the value of
<code>currentLocalDescription.sdp</code> need not match the
value of <code>localDescription.sdp</code>.</p>
null.</p>
</dd>
<dt><code>pendingLocalDescription</code> of type <span class=
"idlAttrType"><a>RTCSessionDescription</a></span>, readonly,
Expand Down Expand Up @@ -1948,6 +1952,12 @@ <h2>Attributes</h2>
"RTCPeerConnection">pendingRemoteDescription</a></code> if it
is not null and otherwise it MUST return <code><a data-for=
"RTCPeerConnection">currentRemoteDescription</a></code>.</p>

<p>Note that <code>currentRemoteDescription.sdp</code> and
<code>pendingRemoteDescription.sdp</code> need not be
string-wise identical to the <code>description.sdp</code> value
passed to the corresponding
<a><code>setRemoteDescription</code></a> call.</p>
</dd>
<dt><code>currentRemoteDescription</code> of type <span class=
"idlAttrType"><a>RTCSessionDescription</a></span>, readonly,
Expand All @@ -1969,9 +1979,7 @@ <h2>Attributes</h2>
that have been supplied via <code><a data-for=
"RTCPeerConnection">addIceCandidate()</a></code> since the
offer or answer was created. Prior to being set, it returns
null. Note that the value of <code>currentRemoteDescription.sdp</code>
need not match the value of
<code>remoteDescription.sdp</code>.</p>
null.</p>
</dd>
<dt><code>pendingRemoteDescription</code> of type <span class=
"idlAttrType"><a>RTCSessionDescription</a></span>, readonly,
Expand Down

0 comments on commit 0a69a98

Please sign in to comment.