Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't treat PC config error as SignalReconnectError #1052

Merged
merged 7 commits into from
Mar 1, 2024

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Feb 29, 2024

closes #1050

Previously an exception thrown in pc.setConfiguration was treated as a SignalReconnectError which in turn meant the engine kept trying to resume, while a full reconnect would be the appropriate measure.

Copy link

changeset-bot bot commented Feb 29, 2024

🦋 Changeset detected

Latest commit: ded8f80

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

Copy link
Contributor

github-actions bot commented Feb 29, 2024

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 81.79 KB (0%)
dist/livekit-client.umd.js 87.43 KB (0%)

@lukasIO
Copy link
Contributor Author

lukasIO commented Feb 29, 2024

Added a maximum of 2s waiting period for ReconnectResponse to arrive after signal reconnection has re-established.

@lukasIO lukasIO merged commit 81ab7db into main Mar 1, 2024
3 checks passed
@lukasIO lukasIO deleted the lukas/handle-pc-error branch March 1, 2024 17:02
@github-actions github-actions bot mentioned this pull request Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants