CustomLocalRender class

本地视频使用外部纹理渲染的参数

Constructors

CustomLocalRender({required String userId, required bool isFront, required int streamType, required int width, required int height})

Properties

hashCode → int
The hash code for this object.
no setterinherited
height ↔ int
显示的视频高度
getter/setter pair
isFront ↔ bool
是否是前置摄像头
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streamType ↔ int
仅支持 TRTCCloudDef.TRTC_VIDEO_STREAM_TYPE_BIG 和 TRTCCloudDef.TRTC_VIDEO_STREAM_TYPE_SUB。
getter/setter pair
userId ↔ String
用户 ID
getter/setter pair
width ↔ int
显示的视频宽度
getter/setter pair

Methods

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