subscribeLiveMix method
ZH
订阅主播合流资源, 仅供直播观众用户使用
@param type 资源类型
@param tiny 视频小流, true:订阅视频小流 false:订阅视频大流
@return 0: 成功, 非0: 失败
EN
Subscribe to host's mixed stream (for live audience only)
@param type Resource type
@param tiny Video stream quality - true: low-res, false: high-res
@return 0: success, non-zero: failure
Implementation
Future<int> subscribeLiveMix(RCRTCMediaType type, [bool tiny = true]) async {
Map<String, dynamic> arguments = {'type': type.index, 'tiny': tiny};
int code = await _channel.invokeMethod('subscribeLiveMix', arguments) ?? -1;
return code;
}