Identify the remote video muted state

Hello, I am using Jitsi Custom API (lib-jitsi-meet), I need to identify the remote video muted state. When i mute(video) local track, i can get the muted state and can change video with just avatar, but on the remote side the visual just stops and cant catch the state to change it with custom avatar. So , all i need is when someone mutes the video to change it with avatar on the both side.