onUserMuteAudio property
Occurs when a remote user (in the communication profile) or a host (in the live streaming profile) stops/resumes sending the audio stream.
The SDK triggers this callback when the remote user stops or resumes sending the audio stream by calling the muteLocalAudioStream method. This callback does not work properly when the number of users (in the communication profile) or hosts (in the live streaming channel) in a channel exceeds 32.
connectionThe connection information. See RtcConnection.remoteUidThe user ID.mutedWhether the remote user's audio stream is muted: true : User's audio stream is muted. false : User's audio stream is unmuted.
Implementation
final void Function(RtcConnection connection, int remoteUid, bool muted)?
onUserMuteAudio;