unsubscribeCustomStream method

Future<int> unsubscribeCustomStream(
  1. String userId,
  2. String tag,
  3. RCRTCMediaType type
)

Implementation

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