Skip to content

Commit

Permalink
Merge pull request #1222 from fippo/operation-subsections
Browse files Browse the repository at this point in the history
operation: add subsections
  • Loading branch information
aboba committed May 18, 2017
2 parents e6e9edc + c6e9850 commit 5161df8
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,11 @@ <h4>Operation</h4>
representation of an <code><a>RTCIceTransport</a></code> changes, as
described in <a href= "#rtcicetransport"></a>.</p>

<p>The task source for the tasks listed in this section is the
<a>networking task source</a>.</p>

<section>
<h4>Constructor</h4>
<p>When the <dfn id=
"dom-peerconnection"><code>RTCPeerConnection()</code></dfn> constructor
is invoked, the user agent MUST run the following steps:</p>
Expand Down Expand Up @@ -814,7 +819,11 @@ <h4>Operation</h4>
call is still not settled, they are added to the queue and executed
when all the previous calls have finished executing and their promises
have settled.</p>
<p>To <dfn id="enqueue-an-operation">enqueue an operation</dfn>, run
</section>

<section>
<h4>Enqueue an operation</h4>
<p>To <dfn>enqueue an operation</dfn>, run
the following steps:</p>
<ol>
<li>
Expand Down Expand Up @@ -881,6 +890,10 @@ <h4>Operation</h4>
<p>Return <var>p</var>.</p>
</li>
</ol>
</section>

<section>
<h4>Update the connection state</h4>
<p>An <code><a>RTCPeerConnection</a></code> object has an aggregated
<a>connection state</a>. Whenever the state of an
<code><a>RTCDtlsTransport</a></code> or
Expand Down Expand Up @@ -912,6 +925,10 @@ <h4>Operation</h4>
<var>connection</var>.</p>
</li>
</ol>
</section>

<section>
<h4>Update the ICE gathering state</h4>
<p>To <dfn id="update-ice-gathering-state">update the <a>ICE gathering
state</a></dfn> of an <code><a>RTCPeerConnection</a></code> instance
<var>connection</var>, the user agent MUST queue a task that runs the
Expand Down Expand Up @@ -945,6 +962,10 @@ <h4>Operation</h4>
<var>connection</var>.</p>
</li>
</ol>
</section>

<section>
<h4>Update the ICE connection state</h4>
<p>To <dfn id="update-ice-connection-state">update the <a>ICE
connection state</a></dfn> of an <code><a>RTCPeerConnection</a></code>
instance <var>connection</var>, the user agent MUST queue a task that
Expand Down Expand Up @@ -973,6 +994,10 @@ <h4>Operation</h4>
<var>connection</var>.</p>
</li>
</ol>
</section>

<section>
<h4>Set the RTCSessionSessionDescription</h4>
<p>To <dfn id="set-description" data-lt=
"set the RTCSessionDescription">set an RTCSessionDescription</dfn>
<var>description</var> on an <code><a>RTCPeerConnection</a></code>
Expand Down Expand Up @@ -1341,8 +1366,7 @@ <h4>Operation</h4>
<p>Return <var>p</var>.</p>
</li>
</ol>
<p>The task source for the tasks listed in this section is the
<a>networking task source</a>.</p>
</section>
</section>
<section>
<h3>Interface Definition</h3>
Expand Down

0 comments on commit 5161df8

Please sign in to comment.