Describe the bug
Enabling/disabling audio/video by another participant is not visible on Android until the state is re-read.
To Reproduce
Steps to reproduce the behavior:
Using the sample-app-compose:
Connect to a Room so that there are at least 2 Participants with audio and video enabled.
Mute the audio on a remote Participant.
The local Android user does not see the UI change.
Note: Opening a menu (e.g. to select the audio output or to send a message) refreshes the UI, showing the correct "muted" icon for the remote participant.
Expected behavior
The UI (muted icon) should change immediately when a remote Participant makes the change.
Describe the bug Enabling/disabling audio/video by another participant is not visible on Android until the state is re-read.
To Reproduce Steps to reproduce the behavior: Using the
sample-app-compose
:Expected behavior The UI (muted icon) should change immediately when a remote Participant makes the change.
Device Info:
Reproduced on both a real device and an emulator.
Additional context Reproduced when the remote Participant is either Android or the LiveKit JS client example app.
The same applies for "unmute", too.
Mute/unmute by the local user is immediately visible in own UI.
Validated that the
RoomEvent.TrackMuted
/RoomEvent.TrackUnmuted
events do come as exppected by adding logs in theCallViewModel.kt
:so it's an issue with the propagation to the UI.