updateLocalView method
Update the preview image of local video
Note: When viewtype is TRTCCloudDef.TRTC_VideoView_TextureView is valid for Android
Parameters:
viewId
: Control that carries the video image
Platform not supported:
- web
- macOS
- Windows
Implementation
Future<void> updateLocalView(int viewId) {
return TRTCCloudVideoViewController(viewId).updateLocalView(viewId, _cloudChannel!.name);
}