onUserMuteVideo property

(void Function(RtcConnection connection, int remoteUid, bool muted)?) onUserMuteVideo
final

Occurs when a remote user stops/resumes publishing the video stream. When a remote user calls muteLocalVideoStream to stop or resume publishing the video stream, the SDK triggers this callback to report the state of the remote user's publishing stream to the local user.This callback can be inaccurate when the number of users (in the communication profile) or hosts (in the live streaming profile) in a channel exceeds 17.

  • connection The connection information. See RtcConnection .
  • remoteUid The user ID of the remote user.
  • muted Whether the remote user stops publishing the video stream:true: The remote user stops publishing the video stream.false: The remote user resumes publishing the video stream.

Implementation

final void Function(RtcConnection connection, int remoteUid, bool muted)?
    onUserMuteVideo;