muteRemoteCustomStream method

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

Implementation

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