From ab8688dfc8a9544216dd13664e75b46a5de332a0 Mon Sep 17 00:00:00 2001 From: Masayuki Iwai Date: Wed, 4 Dec 2024 14:12:14 +0900 Subject: [PATCH 1/2] Improve documentation of RTCConfiguration --- Runtime/Scripts/WebRTC.cs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Runtime/Scripts/WebRTC.cs b/Runtime/Scripts/WebRTC.cs index ae0e30ef33..6f20164335 100644 --- a/Runtime/Scripts/WebRTC.cs +++ b/Runtime/Scripts/WebRTC.cs @@ -531,30 +531,38 @@ public enum RTCIceTransportPolicy : int } /// - /// + /// Provides options to configure the new connection. /// + /// + /// `RTCConfiguration` struct provides options to configure the new connection. + /// + /// + /// + /// /// /// [Serializable] public struct RTCConfiguration { /// - /// + /// List of RTCIceServer objects, each describing one server which may be used by the ICE agent. /// public RTCIceServer[] iceServers; /// - /// + /// Represents the current ICE transport policy. /// public RTCIceTransportPolicy? iceTransportPolicy; /// - /// + /// Specifies how to handle negotiation of candidates when the remote peer is not compatible with the SDP BUNDLE standard. /// public RTCBundlePolicy? bundlePolicy; /// - /// + /// Specifies the size of the prefetched ICE candidate pool. /// public int? iceCandidatePoolSize; From 626520aea74b5116d7cdcb9c3a6e50fc7b751b1d Mon Sep 17 00:00:00 2001 From: Masayuki Iwai Date: Fri, 6 Dec 2024 14:25:09 +0900 Subject: [PATCH 2/2] Improve examples --- Runtime/Scripts/WebRTC.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Runtime/Scripts/WebRTC.cs b/Runtime/Scripts/WebRTC.cs index 6f20164335..a01df38151 100644 --- a/Runtime/Scripts/WebRTC.cs +++ b/Runtime/Scripts/WebRTC.cs @@ -538,7 +538,12 @@ public enum RTCIceTransportPolicy : int /// /// /// /// ///