livekit / client-sdk-flutter

Flutter Client SDK for LiveKit

Home Page:https://docs.livekit.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] No Reconnected Event after AttemptReconnect

holzgeist opened this issue · comments

Describe the bug

I try to give users feedback about connectivity issues as fast as possible, i.e. on RoomAttemptReconnectEvent. However, it looks like "RoomReconnectedEvent" is not always fired after attempting to reconnect and the UI is stuck in the "reconnect" screen/indicator

To Reproduce

  • listen to RoomAttemptReconnectEvent and RoomReconnectedEvent
  • tamper with connectivity (wifi on/off, mobile data on/off etc)
  • see good connectivity even without reconnected event

Expected behavior

Reconnected events are always fired after attempting to reconnect.

Platform information

  • Flutter version: 3.19.5
  • Plugin version: 2.1.2
  • Flutter target OS: Android, real device
  • Flutter target OS version: 13