diff --git a/Runtime/Scripts/Participant.cs b/Runtime/Scripts/Participant.cs index 7254562d..426d63aa 100644 --- a/Runtime/Scripts/Participant.cs +++ b/Runtime/Scripts/Participant.cs @@ -207,7 +207,9 @@ public SetLocalAttributesInstruction SetAttributes(IDictionary a /// - DestinationIdentity: The identity of the participant to call /// - Method: Name of the method to call (up to 64 bytes UTF-8) /// - Payload: String payload (max 15KiB UTF-8) - /// - ResponseTimeout: Maximum time to wait for response (defaults to 10 seconds) + /// - ResponseTimeout: Maximum time to wait for response (defaults to 15 seconds) + /// If a value less than 8 seconds is provided, it will be automatically clamped to 8 seconds + /// to ensure sufficient time for round-trip latency buffering. /// /// A that completes when the RPC call receives a response or errors. /// Check and access / properties to handle the result. diff --git a/Runtime/Scripts/Rpc.cs b/Runtime/Scripts/Rpc.cs index 2998fbfa..e69d55fb 100644 --- a/Runtime/Scripts/Rpc.cs +++ b/Runtime/Scripts/Rpc.cs @@ -26,9 +26,12 @@ public class PerformRpcParams public string Payload { get; set; } /// - /// The maximum time to wait for a response from the remote participant. Default is 10 seconds. + /// Timeout for receiving a response after the initial connection (in seconds). + /// If a value less than 8s is provided, it will be automatically clamped to 8s + /// to ensure sufficient time for round-trip latency buffering. + /// Default is 15 seconds. /// - public float ResponseTimeout { get; set; } = 10f; + public float ResponseTimeout { get; set; } = 15f; } ///