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

Remove references to RTCIceCredentialType #2767

Merged
merged 1 commit into from
Sep 8, 2022
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
62 changes: 4 additions & 58 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,36 +387,6 @@ <h2>
</section>
</div>
</section>
<section>
<h4>
<dfn>RTCIceCredentialType</dfn> Enum
</h4>
<div>
<pre class="idl">enum RTCIceCredentialType {
"password"
};</pre>
<table data-link-for="RTCIceCredentialType" data-dfn-for=
"RTCIceCredentialType" class="simple">
<caption>{{RTCIceCredentialType}} Enumeration description</caption>
<thead>
<tr>
<th>Enum value</th><th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td data-tests="RTCConfiguration-iceServers.html">
<dfn data-idl="">password</dfn>
</td>
<td>
The credential is a long-term authentication username and
password, as described in [[!RFC5389]], Section 10.2.
</td>
</tr>
</tbody>
</table>
</div>
</section>
<section>
<h4>
<dfn>RTCIceServer</dfn> Dictionary
Expand All @@ -431,7 +401,6 @@ <h4>
required (DOMString or sequence&lt;DOMString&gt;) urls;
DOMString username;
DOMString credential;
RTCIceCredentialType credentialType = "password";
};</pre>
<section>
<h2>
Expand All @@ -457,9 +426,8 @@ <h2>
<dd>
<p>
If this {{RTCIceServer}} object represents a TURN server,
and {{credentialType}} is
{{RTCIceCredentialType/"password"}}, then this attribute
specifies the username to use with that TURN server.
then this attribute specifies the username to use with
that TURN server.
</p>
</dd>
<dt data-tests="RTCConfiguration-iceServers.html">
Expand All @@ -472,27 +440,8 @@ <h2>
that TURN server.
</p>
<p>
If {{credentialType}} is
{{RTCIceCredentialType/"password"}}, {{credential}}
represents a long-term authentication password, as
described in [[!RFC5389]], Section 10.2.
</p>
<p class="note">
To support additional values of {{credentialType}},
{{credential}} may evolve in future as a union.
</p>
</dd>
<dt data-tests="RTCConfiguration-iceServers.html">
<dfn data-idl="">credentialType</dfn> of type <span class=
"idlMemberType">{{RTCIceCredentialType}}</span>, defaulting
to {{RTCIceCredentialType/"password"}}
</dt>
<dd>
<p>
If this {{RTCIceServer}} object represents a TURN server,
then this attribute specifies how <var>credential</var>
should be used when that TURN server requests
authorization.
{{credential}} represents a long-term authentication
password, as described in [[!RFC5389]], Section 10.2.
</p>
</dd>
</dl>
Expand All @@ -507,7 +456,6 @@ <h2>
{urls: ['turns:turn.example.org', 'turn:turn.example.net'],
username: 'user',
credential: 'myPassword',
credentialType: 'password'},
];
</pre>
</section>
Expand Down Expand Up @@ -3100,8 +3048,6 @@ <h4>
If <var>scheme name</var> is <code class=
"scheme">turn</code> or <code class=
"scheme">turns</code>, and
<var>server</var>.{{RTCIceServer/credentialType}} is
{{RTCIceCredentialType/"password"}}, and
<var>server</var>.{{RTCIceServer/credential}} is not
a <span class="idlMemberType">DOMString</span>, then
[= exception/throw =] an {{InvalidAccessError}}.
Expand Down