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

Revise sender/receiver setTransport() method #808

Merged
merged 3 commits into from Jan 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 20 additions & 13 deletions index.html
Expand Up @@ -3027,12 +3027,13 @@ <h2>Methods</h2>
be the arguments to this method.</p>
</li>
<li>
<p>If <code>setTransport()</code> is called with no arguments,
or if <var>withTransport</var> is unset, <a>throw</a> an
<code>InvalidParameters</code>.</p>
<p>If <code><var>withTransport</var></code> is null and
<code><var>withRtcpTransport</var></code> is set, <a>throw</a> an
<code>OperationError</code> and abort these steps.</p>
</li>
<li>
<p>If <code><var>withTransport</var>.transport.component</code> is
<p>If <code><var>withTransport</var></code> is set and
<code><var>withTransport</var>.transport.component</code> is
<code>rtcp</code>, <a>throw</a> an <code>InvalidParameters</code>.</p>
</li>
<li>
Expand All @@ -3052,8 +3053,10 @@ <h2>Methods</h2>
</li>
<li>
<p>Set <code>transport</code> to <var>withTransport</var> and
<code>rtcpTransport</code> to <var>withRtcpTransport</var>
(if provided) and seamlessly send over the new transport(s).</p>
<code>rtcpTransport</code> to <var>withRtcpTransport</var>.</p>
</li>
<p>If <code>transport</code> is set and <code>transport.state</code>
is not <code>failed</code>, seamlessly send over the new transport(s).</p>
</li>
</ol>
<table class="parameters">
Expand Down Expand Up @@ -3665,12 +3668,13 @@ <h2>Methods</h2>
be the arguments to this method.</p>
</li>
<li>
<p>If <code>setTransport()</code> is called with no arguments,
or if <var>withTransport</var> is unset, <a>throw</a> an
<code>InvalidParameters</code>.</p>
<p>If <code><var>withTransport</var></code> is null and
<code><var>withRtcpTransport</var></code> is set, <a>throw</a> an
<code>OperationError</code> and abort these steps.</p>
</li>
<li>
<p>If <code><var>withTransport</var>.transport.component</code> is
<p>If <code><var>withTransport</var></code> is set and
<code><var>withTransport</var>.transport.component</code> is
<code>rtcp</code>, <a>throw</a> an <code>InvalidParameters</code>.</p>
</li>
<li>
Expand All @@ -3689,9 +3693,12 @@ <h2>Methods</h2>
<code>closed</code>, <a>throw</a> an <code>InvalidStateError</code>.</p>
</li>
<li>
<p>Replace <code>transport</code> (if set) with <var>withTransport</var> and
<code>rtcpTransport</code> (if set) with <var>withRtcpTransport</var> and
seamlessly receive over the new transport(s).</p>
<p>Set <code>transport</code> to <var>withTransport</var> and
<code>rtcpTransport</code> to <var>withRtcpTransport</var>.</p>
</li>
<p>If <code>transport</code> is set and <code>transport.state</code>
is not <code>failed</code>, seamlessly receive over the new transport(s).</p>
</li>
</ol>
<table class="parameters">
<tbody>
Expand Down