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

Camera active indicator stays on when Room is disconnected by turning off the network connection #296

@adrian-niculescu

Description

@adrian-niculescu

Describe the bug
Camera active indicator remains on when Room is disconnected by turning off the internet on Android.

To Reproduce
The behaviour reproduces in your sample app (e.g. sample-app-compose), too.
Steps to reproduce the behavior using your sample app:

  1. Connect to a Room. Make sure Audio and video are working as expected (send and receive).
  2. Turn off the internet connection on Android.
  3. The Room is automatically disconnected on Android.
  4. The Android indicator that shows the camera is being used stays on indefinitely, until the app is closed by the user.

Expected behavior
The camera indicator should turn off (camera should not be used anymore), as it does when the Room is disconnected in normal conditions.

Screenshots
camera_active_indicator_on

Device Info:

  • Device: Google Pixel 4A
  • OS: Android 13, API 33
  • LiveKit SDK version: 1.4.2

also replicated on a Google Pixel 4A with Android 14, API 34.

Additional context
Android logs after turning off the internet: android.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions