Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Runtime/Scripts/Participant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ public SetLocalAttributesInstruction SetAttributes(IDictionary<string, string> 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)</param>
/// - 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.</param>
/// <returns>
/// A <see cref="PerformRpcInstruction"/> that completes when the RPC call receives a response or errors.
/// Check <see cref="PerformRpcInstruction.IsError"/> and access <see cref="PerformRpcInstruction.Payload"/>/<see cref="PerformRpcInstruction.Error"/> properties to handle the result.
Expand Down
7 changes: 5 additions & 2 deletions Runtime/Scripts/Rpc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ public class PerformRpcParams
public string Payload { get; set; }

/// <summary>
/// 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.
/// </summary>
public float ResponseTimeout { get; set; } = 10f;
public float ResponseTimeout { get; set; } = 15f;
}

/// <summary>
Expand Down
Loading