Skip to content

rtcicecandidate: add relayProtocol #2763

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

Merged
merged 4 commits into from
Sep 22, 2022
Merged
Changes from 3 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: 62 additions & 0 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -5976,6 +5976,7 @@ <h4>
readonly attribute DOMString? relatedAddress;
readonly attribute unsigned short? relatedPort;
readonly attribute DOMString? usernameFragment;
readonly attribute RTCIceServerTransportProtocol? relayProtocol;
RTCIceCandidateInit toJSON();
};</pre>
<section>
Expand Down Expand Up @@ -6278,6 +6279,16 @@ <h2>
This carries the <code class="ice">ufrag</code> as defined in
section 15.4 of [[RFC5245]].
</dd>
<dt>
<dfn>relayProtocol</dfn> of type <span class=
"idlMemberType">RTCIceServerTransportProtocol</span>
</dt>
<dd>
<p>
The protocol used by the endpoint to communicate with the TURN server. This
is only present for local relay candidates.
</p>
</dd>
</dl>
</section>
<section>
Expand Down Expand Up @@ -6561,6 +6572,57 @@ <h4>
</table>
</div>
</section>
<section>
<h4>
<dfn>RTCIceServerTransportProtocol</dfn> Enum
</h4>
<p>
The {{RTCIceServerTransportProtocol}} represents the type of the transport
protocol used between the client and the server, as defined in [[RFC5766]] section 2.1.
</p>
<div>
<pre class="idl">enum RTCIceServerTransportProtocol {
"udp",
"tcp",
"tls",
};</pre>
<table data-link-for="RTCIceServerTransportProtocol" data-dfn-for=
"RTCIceServerTransportProtocol" class="simple">
<caption>{{RTCIceServerTransportProtocol}} Enumeration description</caption>
<thead>
<tr>
<th>Enum value</th><th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td data-tests="">
<dfn data-idl="">udp</dfn>
</td>
<td>
The TURN client is using UDP as transport to the server.
</td>
</tr>
<tr>
<td data-tests="">
<dfn data-idl="">tcp</dfn>
</td>
<td>
The TURN client is using TCP as transport to the server.
</td>
</tr>
<tr>
<td data-tests="">
<dfn data-idl="">tls</dfn>
</td>
<td>
The TURN client is using TLS as transport to the server.
</td>
</tr>
</tbody>
</table>
</div>
</section>
</section>
<section>
<h4>
Expand Down