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

In-band negotiated channel should be open when dispatching #1851

Merged
merged 3 commits into from
May 31, 2018
Merged
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
16 changes: 16 additions & 0 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -8653,6 +8653,10 @@ <h3><dfn>RTCDataChannel</dfn></h3>
<p>Let <var>channel</var> be the <code><a>RTCDataChannel</a></code>
object to be announced.</p>
</li>
<li>
<p>If <var>channel</var>'s <a>[[\ReadyState]]</a> is <code>closing</code> or
<code>closed</code>, abort these steps.</p>
</li>
<li>
<p>Set <var>channel</var>'s <a>[[\ReadyState]]</a> slot to
<code>open</code>.</p>
Expand Down Expand Up @@ -8721,11 +8725,23 @@ <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><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