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

Add RoomEvent.SignalReconnecting and ConnectionState.SignalReconnecting #1158

Merged
merged 7 commits into from
Jun 14, 2024

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Jun 10, 2024

No description provided.

Copy link

changeset-bot bot commented Jun 10, 2024

🦋 Changeset detected

Latest commit: 4389af3

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 Minor

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 Jun 10, 2024

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 80.23 KB (+0.05% 🔺)
dist/livekit-client.umd.js 86.01 KB (+0.05% 🔺)

}

const connectionReconcileFrequency = 2 * 1000;
const connectionReconcileFrequency = 4 * 1000;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Drive by change.
currently with a 2s timeout the max allowed time for a publisher peer connection to establish is 6 seconds, as the peer connection manager will return a "connecting" state while publishing connection is establishing. Increasing the timeout to 12s seems reasonable to me.

@lukasIO lukasIO requested a review from davidzhao June 10, 2024 12:21
@lukasIO lukasIO changed the title Add RoomEvent.Resuming and ConnectionState.Resuming Add RoomEvent.SignalReconnecting and ConnectionState.SignalReconnecting Jun 13, 2024
Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

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

lgtm!

@lukasIO lukasIO merged commit b81b612 into main Jun 14, 2024
3 checks passed
@lukasIO lukasIO deleted the lukas/resuming branch June 14, 2024 08:24
@github-actions github-actions bot mentioned this pull request Jun 14, 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
Development

Successfully merging this pull request may close these issues.

2 participants