muteRemoteVideoStream abstract method

Future<void> muteRemoteVideoStream(
  1. int userId,
  2. bool muted
)

Stops or resumes subscribing to the video stream of a specified user. Call this method after joining a channel. See recommended settings in Set the Subscribing State.

Param userId The ID of the specified user.

Param muted Whether to stop subscribing to the video stream of the specified user. true: Stop subscribing to the video streams of the specified user. false: (Default) Subscribe to the video stream of the specified user.

Implementation

Future<void> muteRemoteVideoStream(int userId, bool muted);