Expose RPC max round trip latency in performRpc#1023
Open
1egoman wants to merge 7 commits into
Open
Conversation
|
|
1egoman
commented
May 28, 2026
99e9fa6 to
7ec59c6
Compare
Contributor
|
Could you revert protobuf changes? It's failing due to an unrelated change in swift-protobufs (root cause is #1018) |
This reverts commit 6015b73.
Contributor
Author
|
Reverted in 8477bc9 |
Contributor
Author
|
@pblazej Assuming that the ci not fully passing is fine due to your previously surfaced point, anything else you'd like to see on this before it could be merged / released? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exposes a new
maxRoundTripLatencyparameter onLocalParticipant.performRpc(via a newperformRpc(destinationIdentity:method:payload:responseTimeout:maxRoundTripLatency:)overload) 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 android change: livekit/client-sdk-android#953