Skip to content

Commit

Permalink
Followup fixes to PeerConnection state machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-be committed Mar 11, 2013
1 parent 700919b commit 04e58a8
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,10 @@ <h4>Operation</h4>
<li>
<p>The gathering process is done.</p>

<p>Let <var>newCandidate</var> be null.</p>
<p>Set <var>connection</var>'s
<a href="#dom-peerconnection-ice-gathering-state">ice gathering
state</a> to <code>completed</code> and let
<var>newCandidate</var> be null.</p>
</li>
</ul>
</li>
Expand Down Expand Up @@ -720,15 +723,6 @@ <h3>Interface Definition</h3>
and abort this operation.</p>
</li>

<li>
<p>Changes to the state of media transmission will occur when a
final answer is successfully applied. The description attribute
(<code><a>localDescription</a></code> or <code>
<a>remoteDescription</a></code> depending on the setting
operation) MUST return the previous description until the new
description is successfully applied.</p>
</li>

<li>
<p>If a local description contains a different set of ICE
credentials, then the ICE Agent MUST trigger an ICE restart.
Expand Down Expand Up @@ -814,6 +808,14 @@ <h3>Interface Definition</h3>
is <code>closed</code>, then abort these steps.</p>
</li>

<li>
<p>Set <var>connection</var>'s description attribute
(<code><a>localDescription</a></code> or <code>
<a>remoteDescription</a></code> depending on the setting
operation) to the <code><a>RTCSessionDescription</a></code>
argument.</p>
</li>

<li>
<p>If the local description was set,
<var>connection</var>'s <a href=
Expand Down

0 comments on commit 04e58a8

Please sign in to comment.