setLocalCustomStreamView method
ZH
设置本地自定义视频预览窗口 @param tag @param view @return 0: 成功, 非0: 失败
EN
Set local custom video preview window @param tag @param view @return 0: success, non-zero: failure
Implementation
Future<int> setLocalCustomStreamView(String tag, RCRTCView view) async {
Map<String, dynamic> arguments = {'tag': tag, 'view': view._id};
int code =
await _channel.invokeMethod('setLocalCustomStreamView', arguments) ??
-1;
return code;
}