VideoViewControllerBase class abstract

A AgoraVideoView controller for rendering local and remote video.

On different platforms, the default view corresponding to this class is different: Android:. If you want to use, set the useAndroidSurfaceView property to true. iOS:. If you want to use Flutter Texture, set the useFlutterTexture property to true. macOS and Windows:.

Implementers

Constructors

VideoViewControllerBase()

Properties

canvas → VideoCanvas
The local video view and settings. See VideoCanvas.
no setter
connection → RtcConnection?
The connection information. See RtcConnection.
no setter
hashCode → int
The hash code for this object.
no setterinherited
rtcEngine → RtcEngine
RtcEngine.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
useAndroidSurfaceView → bool
Whether to use Android SurfaceView to render video: true : Use Android SurfaceView to render video. false : Do not use Android SurfaceView to render video. Android SurfaceView applies to Android platform only.
no setter
useFlutterTexture → bool
Whether to use FlutterTexture to render video: true : Use FlutterTexture to render video. false : Do not use FlutterTexture to render video. FlutterTexture applies to iOS, macOS and Windows platforms.
no setter

Methods

createTextureRender(int uid, String channelId, int videoSourceType, int videoViewSetupMode) → Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited