CustomRender class

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

Constructors

CustomRender({required String userId, bool? isFront, required bool isLocal, 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
isLocal bool
是否为本地用户
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamType int
仅支持 TRTCCloudDef.TRTC_VIDEO_STREAM_TYPE_BIGTRTCCloudDef.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