client-sdk-js icon indicating copy to clipboard operation
client-sdk-js copied to clipboard

Retry initial signal connection

Open lukasIO opened this issue 2 years ago • 3 comments

lukasIO avatar Sep 30 '22 10:09 lukasIO

🦋 Changeset detected

Latest commit: 480a29fef9883e0b6d196908a888549429912bc2

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

changeset-bot[bot] avatar Sep 30 '22 10:09 changeset-bot[bot]

sure, moving it into RTCEngine seems like a good idea, as this already has some reconnect logic in it!

lukasIO avatar Oct 05 '22 15:10 lukasIO

@davidzhao I thought about reusing the reconnectPolicy, but felt it's more predictable if initial reconnect attempts can be configured separately. Only downside is that currently there's no way to report back to the user that a join attempt has failed.

lukasIO avatar Oct 10 '22 08:10 lukasIO