setRemoteView method
ZH
设置远端视频View @param userId 远端用户的 UserId @param view RRCRTCIWView 对象 @return 0: 成功, 非0: 失败
EN
Set remote video view @param userId Remote user ID @param view RRCRTCIWView object @return 0: success, non-zero: failure
Implementation
Future<int> setRemoteView(String userId, RCRTCView view) async {
Map<String, dynamic> arguments = {'id': userId, 'view': view._id};
int code = await _channel.invokeMethod('setRemoteView', arguments) ?? -1;
return code;
}