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

Livekit sometimes does not initiate reconnecting when the network is disconnected and then reconnected. #545

Open
tombang opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tombang
Copy link

tombang commented Nov 20, 2024

Describe the bug
Livekit sometimes does not initiate reconnecting when the network is disconnected and then reconnected.

To Reproduce
Steps to reproduce the behavior:

  1. Confirm the device connect to the internet and connected to the room
  2. disconnect the wifi and reconnect to the same internet right now
  3. The room won't send the reconnecting event

Expected behavior
livekit can reconnecting to the room normally

Abnormal log:
11-20 02:25:58.134 3505 16592 I AsrLiveKitServerDemo: events collect: io.livekit.android.events.RoomEvent$ActiveSpeakersChanged@fbfe157
11-20 02:25:58.134 3505 16592 I AsrLiveKitServerDemo: speaker is []
11-20 02:25:58.502 3505 16591 I AsrLiveKitServerDemo: events collect: io.livekit.android.events.RoomEvent$ActiveSpeakersChanged@ba5a444
11-20 02:25:58.503 3505 16591 I AsrLiveKitServerDemo: speaker is [io.livekit.android.room.participant.LocalParticipant@219b75f1]
11-20 02:25:58.515 3505 9268 I AsrLiveKitServerDemo: events collect: io.livekit.android.events.RoomEvent$TrackUnsubscribed@e2bd92d
11-20 02:25:58.515 3505 9268 I AsrLiveKitServerDemo: events collect: io.livekit.android.events.RoomEvent$TrackUnpublished@aa55e62
11-20 02:25:58.516 3505 9268 I AsrLiveKitServerDemo: events collect: io.livekit.android.events.RoomEvent$ParticipantDisconnected@cf73bf3
11-20 02:25:58.516 3505 9268 I AsrLiveKitServerDemo: some one disconnect: io.livekit.android.room.participant.RemoteParticipant@4c0917d9

Normal log:

2024-11-20 09:10:44.799 3197-7672 AsrLiveKitServerDemo com.tcl.robot.server I events collect: io.livekit.android.events.RoomEvent$ActiveSpeakersChanged@a167962
2024-11-20 09:10:44.799 3197-7672 AsrLiveKitServerDemo com.tcl.robot.server I speaker is [io.livekit.android.room.participant.RemoteParticipant@d0e2200c]
2024-11-20 09:10:46.145 3197-9116 AsrLiveKitServerDemo com.tcl.robot.server I events collect: io.livekit.android.events.RoomEvent$Reconnecting@859baf3
2024-11-20 09:10:46.272 3197-9285 AsrLiveKitServerDemo com.tcl.robot.server I events collect: io.livekit.android.events.RoomEvent$TrackUnpublished@1cd3b0
2024-11-20 09:10:46.272 3197-9285 AsrLiveKitServerDemo com.tcl.robot.server I events collect: io.livekit.android.events.RoomEvent$TrackUnsubscribed@ee5f229
2024-11-20 09:10:46.273 3197-9285 AsrLiveKitServerDemo com.tcl.robot.server I events collect: io.livekit.android.events.RoomEvent$TrackUnpublished@c66c9ae
2024-11-20 09:10:46.273 3197-9285 AsrLiveKitServerDemo com.tcl.robot.server I events collect: io.livekit.android.events.RoomEvent$ParticipantDisconnected@3cb134f
2024-11-20 09:10:46.273 3197-9285 AsrLiveKitServerDemo com.tcl.robot.server I some one disconnect: io.livekit.android.room.participant.RemoteParticipant@d0e2200c

Device Info:

  • Device: Pixel
  • OS: Android 13
  • LiveKit SDK version: [2.10.0]

Additional context
Add any other context about the problem here.

@tombang tombang added the bug Something isn't working label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant