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

It took very long time to connect the livekit room #503

Open
tombang opened this issue Sep 13, 2024 · 2 comments
Open

It took very long time to connect the livekit room #503

tombang opened this issue Sep 13, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tombang
Copy link

tombang commented Sep 13, 2024

It took very long time to connect the livekit room

While I connnect the livekit room by wss and token, it took too long time to connect

The log is below:

09-13 01:00:08.415 2929 6204 I AsrLiveKitServer: startAsrLiveKit: wsURL=ws://, token=**
09-13 01:00:08.886 2929 2929 I AsrLiveKitServer: connect end
09-13 01:00:10.034 2929 5458 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$Connected@f34b482
09-13 01:00:10.036 2929 2929 I AsrLiveKitServer: set mic enable and speak not mute
09-13 01:00:10.037 2929 2929 I AsrLiveKitServer: set mic enable and speak not mute
09-13 01:00:10.039 2929 2929 I AsrLiveKitServer: set mic enable and speak not mute
09-13 01:00:10.204 2929 4980 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$TrackPublished@35453d0
09-13 01:00:13.529 2929 5109 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$ConnectionQualityChanged@57d96ce
09-13 01:00:14.545 2929 5109 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$ParticipantConnected@bc029ef
09-13 01:00:15.019 2929 5109 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$DataReceived@b72dcfc
09-13 01:00:15.020 2929 5109 I AsrLiveKitServer: :��
09-13 01:00:15.020 2929 5109 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$TrackPublished@6250f85
09-13 01:00:15.020 2929 5109 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$ConnectionQualityChanged@e6051da
09-13 01:00:15.066 2929 4996 I AsrLiveKitServer: events collect: io.livekit.android.events.RoomEvent$TrackSubscribed@8f760b
09-13 01:00:15.066 2929 4996 I AsrLiveKitServer: event: io.livekit.android.room.track.RemoteAudioTrack@a8ecce8

@tombang tombang added the enhancement New feature or request label Sep 13, 2024
@thiendn160794
Copy link

Hi @tombang,

Did this issue occur the first time you called connect, or did it happen in subsequent attempts? I've encountered a similar bug where calling room.disconnect() gets blocked, which causes any subsequent connect attempts to fail indefinitely.

Would appreciate any insight you can provide!

@tombang
Copy link
Author

tombang commented Nov 8, 2024

Hi @thiendn160794 ,

this issue occur the first time i called connect and will occur after disconnect() again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants