Skip to content

Commit

Permalink
In-band negotiated channel should be open when dispatching
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrahl committed Apr 22, 2018
1 parent 670a792 commit 6648f92
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions webrtc.html
Expand Up @@ -8721,11 +8721,22 @@ <h3><dfn>RTCDataChannel</dfn></h3>
</tr>
</table>
</li>
<li>
<p>Set <var>channel</var>'s <a>[[\ReadyState]]</a> to
<code>open</code> (but do not fire the <code><a>open</a></code>
event, yet).</p>
<div class="note">This allows to start sending messages inside of the
<code><a>datachannel</a></code> event handler prior to the
<code><a>open</a></code> event being fired.</div>
</li>
<li>
<p><a>Fire a datachannel event</a> named
<code><a>datachannel</a></code> with <var>channel</var> at the
<code><a>RTCPeerConnection</a></code> object.</p>
</li>
<li>
<p>If the <var>channel</var>'s <a>[[\ReadyState]]</a> is still <code>open</code>, <a data-lt="announce the rtcdatachannel as open">announce the data channel as open</a>.</p>
</li>
</ol>
<p>An <code><a>RTCDataChannel</a></code> object's <a>underlying data
transport</a> may be torn down in a non-abrupt manner by running the
Expand Down

0 comments on commit 6648f92

Please sign in to comment.