From c024c01f5462d1207ba0ccadd126f0b77addba16 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Tue, 19 Mar 2024 17:56:01 -0400 Subject: [PATCH 1/2] 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`.
From 8ea7c8bd3b54dbe2ee900b87aeb8afddabaf5781 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Tue, 19 Mar 2024 18:03:29 -0400 Subject: [PATCH 2/2] For local candidates of type "relay"... --- webrtc.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webrtc.html b/webrtc.html index e0c8d299e..5b4b11ea2 100644 --- a/webrtc.html +++ b/webrtc.html @@ -6369,8 +6369,9 @@

"idlMemberType">RTCIceServerTransportProtocol, readonly, nullable
- 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`. + For local candidates of type {{RTCIceCandidateType/"relay"}} this is the + protocol used by the endpoint to communicate with the TURN server. For + all other candidates it is `null`.
url of type