TRTCMixUser class

云端混流中每一路子画面的位置信息

TRTCMixUser 用于指定每一路(即每一个 userId)视频画面的具体摆放位置

Constructors

TRTCMixUser({String userId = '', String roomId = "", int x = 0, int y = 0, int width = 0, int height = 0, int zOrder = 0, int streamType = TRTCCloudDef.TRTC_VIDEO_STREAM_TYPE_BIG, bool pureAudio = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
图层位置高度(绝对像素值)
getter/setter pair
pureAudio bool
该用户是不是只开启了音频
getter/setter pair
roomId String
参与混流的 userId 所在roomId,null表示当前房间
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamType int
参与混合的是主路画面(TRTC_VIDEO_STREAM_TYPE_BIG,默认)或屏幕分享(TRTC_VIDEO_STREAM_TYPE_SUB)画面
getter/setter pair
userId String
参与混流的 userId
getter/setter pair
width int
图层位置宽度(绝对像素值)
getter/setter pair
x int
图层位置 x 坐标(绝对像素值)
getter/setter pair
y int
图层位置 y 坐标(绝对像素值)
getter/setter pair
zOrder int
图层层次(1 - 15)不可重复
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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