VideoViewControllerBase class abstract

The controller for AgoraVideoView, used to render local and remote video.

On different platforms, the default view corresponding to this class varies: Android: https://developer.android.com/reference/android/view/TextureView. If you want to use SurfaceView, set the useAndroidSurfaceView property to true. iOS: UIView. If you want to use FlutterTexture, set the useFlutterTexture property to true. macOS and Windows: FlutterTexture.

Implementers

Constructors

VideoViewControllerBase()

Properties

canvas → VideoCanvas
Local video display properties. See VideoCanvas.
no setter
connection → RtcConnection?
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
Android SurfaceView is only available on Android platform. Whether to use Android SurfaceView to render video: true : Use Android SurfaceView to render video. false : Do not use Android SurfaceView to render video.
no setter
useFlutterTexture → bool
FlutterTexture is only available on iOS, macOS, and Windows platforms. Whether to use FlutterTexture to render video: true : Use FlutterTexture to render video. false : Do not use FlutterTexture to render video.
no setter

Methods

createTextureRender(int uid, RtcConnection? connection, 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