Skip to content

handle late reconnect responses - #2077

Closed
lukasIO wants to merge 6 commits into
mainfrom
lukas/late-reconnect-res
Closed

handle late reconnect responses#2077
lukasIO wants to merge 6 commits into
mainfrom
lukas/late-reconnect-res

Conversation

@lukasIO

@lukasIO lukasIO commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

ensures that during a reconnect a ReconnectResponse arrives after some other signalling message, the ReconnectResponse still gets applied retroactively.

@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cabd0df

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

This PR includes changesets to release 1 package
Name Type
livekit-client 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

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 110.71 KB (+0.08% 🔺)
dist/livekit-client.umd.js 119.86 KB (+0.13% 🔺)

@lukasIO lukasIO changed the title add support for late reconnect response handle late reconnect responses Sep 1, 2026
@lukasIO
lukasIO marked this pull request as ready for review September 1, 2026 15:43

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

Comment thread src/room/RTCEngine.ts Outdated
});
// The new node's ICE servers can't wait for the resume to finish: without them we'd keep
// the previous node's TURN credentials, which can fail the ICE restart outright.
this.applyReconnectResponse(res);

@devin-ai-integration devin-ai-integration Bot Sep 1, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Failed late ICE restart reports success

When triggerIceRestart rejects, updateConfiguration only logs the failure while the active resume continues. The client can report reconnection with unusable ICE credentials.

Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread src/room/RTCEngine.ts Outdated
@lukasIO

lukasIO commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

superseded by #2082

@lukasIO lukasIO closed this Sep 2, 2026
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.

2 participants