这是indexloc提供的服务,不要输入任何密码
Skip to content

[bug] Actions stop working after second connect attempt to same room flutter livekit client #553

@RoyMatipa

Description

@RoyMatipa

Describe the bug

Hello! When I try to disconnect from a room in my Flutter app, I've noticed that it works the first time, but if you connect again and then try to disconnect a second time, it doesn't do anything and no error is returned. Additionally, other actions like setCameraEnabled and setMicrophoneEnabled also stop working after the second connection to the same room.

To Reproduce

  1. Connect to a room.
  2. Disconnect from the room.
  3. Connect to the same room.
  4. Disconnect from the room (This step doesn't work for some reason).
  5. Try to use setCameraEnabled or setMicrophoneEnabled (These actions also stop working SOMETIMES).

Expected behaviour

The app should successfully disconnect from the room on the second attempt as it does on the first attempt, and actions like setCameraEnabled and setMicrophoneEnabled should continue to work.

Platform information

  • Flutter version: 3.22.1
  • Plugin version: livekit_client: ^2.2.0
  • Flutter target OS: Android/iOS/Web (Only tested on Android Emulator running android 14 & Samsung Galaxy S22+ running Android 14)
  • Flutter target OS version: Android 14
  • Flutter console log:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions