From c024c01f5462d1207ba0ccadd126f0b77addba16 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Tue, 19 Mar 2024 17:56:01 -0400 Subject: [PATCH] Clarify when RTCIceCandidate's relayProtocol and url members are null. --- webrtc.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/webrtc.html b/webrtc.html index 947c6b27e..e0c8d299e 100644 --- a/webrtc.html +++ b/webrtc.html @@ -6366,24 +6366,21 @@

relayProtocol of type RTCIceServerTransportProtocol + "idlMemberType">RTCIceServerTransportProtocol, readonly, nullable
-

- The protocol used by the endpoint to communicate with the TURN server. This - is only present for local relay candidates. -

+ 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`.
url of type DOMString + "idlMemberType">DOMString, readonly, nullable
-

- 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 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`.