Skip to content

Add maxRoundTripLatency option#953

Open
1egoman wants to merge 3 commits into
mainfrom
expose-max-round-trip-latency
Open

Add maxRoundTripLatency option#953
1egoman wants to merge 3 commits into
mainfrom
expose-max-round-trip-latency

Conversation

@1egoman
Copy link
Copy Markdown

@1egoman 1egoman commented May 28, 2026

Exposes a new maxRoundTripLatency parameter on LocalParticipant.performRpc so that a caller can configure the amount of time they'd like to be able to tolerate between a RPC request being enqueued and a RPCRequest's ACK comes back from the remote participant.

I expect this to be a fairly uncommonly tweaked value, but exposing it means that a client can be configured to tolerate situations where RPC requests are backed up behind other messages due to webrtc head of line blocking on the data channel, and RPC requests are timing out before actually being able to be sent via webrtc.

Related swift change: livekit/client-sdk-swift#1023

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 28, 2026

🦋 Changeset detected

Latest commit: 34f470d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
client-sdk-android Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant