Skip to content

Commit

Permalink
Clarify when RTCIceCandidate's relayProtocol and url members are null.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Mar 19, 2024
1 parent a913714 commit c024c01
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -6366,24 +6366,21 @@ <h2>
</dd>
<dt class="add-to-usernameFragment-desc">
<dfn>relayProtocol</dfn> of type <span class=
"idlMemberType">RTCIceServerTransportProtocol</span>
"idlMemberType">RTCIceServerTransportProtocol</span>, readonly, nullable
</dt>
<dd class="add-to-usernameFragment-desc">
<p>
The protocol used by the endpoint to communicate with the TURN server. This
is only present for local relay candidates.
</p>
For local relay candidates this is the protocol used by the endpoint to
communicate with the TURN server. For all other candidates it is `null`.
</dd>
<dt class="add-to-usernameFragment-desc">
<dfn>url</dfn> of type <span class=
"idlMemberType">DOMString</span>
"idlMemberType">DOMString</span>, readonly, nullable
</dt>
<dd class="add-to-usernameFragment-desc">
<p>
For local candidates of type {{RTCIceCandidateType/"srflx"}} or type
{{RTCIceCandidateType/"relay"}} this is the URL of the ICE server
from which the candidate was obtained.
</p>
For local candidates of type {{RTCIceCandidateType/"srflx"}} or type
{{RTCIceCandidateType/"relay"}} this is the URL of the ICE server
from which the candidate was obtained. For all other candidates it is
`null`.
</dd>
</dl>
</section>
Expand Down

0 comments on commit c024c01

Please sign in to comment.