VideoViewController
Constructor for the VideoViewController class used to render local video.
VideoViewController({ required this.rtcEngine, required this.canvas, this.useFlutterTexture = false, this.useAndroidSurfaceView = false, }) : connection = const RtcConnection();
Parameters
- rtcEngine
- RtcEngine.
- canvas
- Local video display properties. See VideoCanvas.
- useFlutterTexture
- Whether to use
FlutterTexture
to render video:true
: UseFlutterTexture
to render video.false
: Do not useFlutterTexture
to render video.
Note:FlutterTexture
applies to iOS, macOS and Windows platforms. - useAndroidSurfaceView
- Whether to use Android
SurfaceView
to render video:true
: Use AndroidSurfaceView
to render video.false
: Do not use AndroidSurfaceView
to render video.
Note: AndroidSurfaceView
applies to Android platform only.