Open adrian-niculescu opened 10 months ago
As a workaround, I tried to manually disable the camera when the event that the Room is disconnected is received:
room.localParticipant.setCameraEnabled(false)
or
room.localParticipant.videoTracks.forEach { it.second!!.stop() }
(or both) with no success.
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:
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
Device Info:
also replicated on a Google Pixel 4A with Android 14, API 34.
Additional context Android logs after turning off the internet: android.log