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