muteRemoteStream method

Future<int> muteRemoteStream(
  1. String userId,
  2. RCRTCMediaType type,
  3. bool mute
)

Implementation

Future<int> muteRemoteStream(String userId, RCRTCMediaType type, bool mute) async {
  Map<String, dynamic> arguments = {
    'id': userId,
    'type': type.index,
    'mute': mute,
  };
  int code = await _channel.invokeMethod('muteRemoteStream', arguments) ?? -1;
  return code;
}