Skip to content

Commit

Permalink
Merge pull request #2767 from Orphis/remove_rtcicecredentialtype
Browse files Browse the repository at this point in the history
Remove references to RTCIceCredentialType
  • Loading branch information
aboba authored Sep 8, 2022
2 parents 7a1c514 + 85ce93d commit 0cba163
Showing 1 changed file with 4 additions and 58 deletions.
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

0 comments on commit 0cba163

Please sign in to comment.