updateLocalView method

Future<void> updateLocalView(
  1. int viewId
)

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);
}