This message was deleted.
# helpdesk
s
This message was deleted.
e
Hey, to give you good support you should provide as much context as possible. Can you share the code that leads to the error? What version are you using?
cc @eager-raincoat-52616
h
Copy code
// LiveKit
implementation "io.livekit:livekit-android:1.4.0"
Copy code
binding.video.setOnClickListener {
    lifecycleScope.launch {
        val isMicEnabled = videoCallViewModel.room.localParticipant.isCameraEnabled()
        videoCallViewModel.setCameraEnabled(!isMicEnabled)
    }
}
Copy code
suspend fun setCameraEnabled(enabled: Boolean) {
    room.localParticipant.setCameraEnabled(enabled)
    mutableCameraEnabled.postValue(enabled)
}
After that, an error occurs
The error was caught only on that device. Everything is fine on other devices