Skip to content

Conversation

mohsen2986
Copy link

In certain scenarios, users may encounter connectivity issues that prevent them from joining a room. Implementing a simple retry mechanism can effectively resolve these issues.

val protocolVersion = maxOf(options.protocolVersion, ProtocolVersion.v7)
val connectOptions = options.copy(protocolVersion = protocolVersion)

room.connect(url, token, connectOptions)
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be added to the room.connect function itself rather than this one. LiveKit.connect is deprecated and will be removed in the future.

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