subscribe method
Implementation
Future<int> subscribe(
String userId,
RCRTCMediaType type, [
bool tiny = true,
]) async {
Map<String, dynamic> arguments = {
'id': userId,
'type': type.index,
'tiny': tiny,
};
int code = await _channel.invokeMethod('subscribe', arguments) ?? -1;
return code;
}