Skip to content
Merged
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: 2 additions & 2 deletions Sources/LiveKit/Participant/LocalParticipant+RPC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public extension LocalParticipant {
func performRpc(destinationIdentity: Identity,
method: String,
payload: String,
responseTimeout: TimeInterval = 10) async throws -> String
responseTimeout: TimeInterval = 15) async throws -> String
{
let room = try requireRoom()

Expand All @@ -39,7 +39,7 @@ public extension LocalParticipant {
}

let requestId = UUID().uuidString
let maxRoundTripLatency: TimeInterval = 2
let maxRoundTripLatency: TimeInterval = 7
let effectiveTimeout = responseTimeout - maxRoundTripLatency

try await publishRpcRequest(destinationIdentity: destinationIdentity,
Expand Down
Loading