TRTCVideoLayout class

TRTC 混流转码时的视频布局属性配置,包括位置、大小、图层等

Constructors

TRTCVideoLayout()

Properties

backgroundColor ↔ int
描述:混合流的背景颜色。
getter/setter pair
fillMode ↔ TRTCVideoFillMode
描述:渲染模式。
getter/setter pair
fixedVideoStreamType ↔ TRTCVideoStreamType
描述:视频是否为主流(TRTCVideoStreamTypeBig)或辅流(TRTCVideoStreamTypeSub)。
getter/setter pair
fixedVideoUser ↔ TRTCUser
描述:转码的用户流。
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
placeHolderImage ↔ String
描述:占位图像的 URL。如果用户仅发送音频,则在云端混流转码期间将混合 URL 指定的图像。
getter/setter pair
rect ↔ Rect
描述:视频的坐标(以像素为单位)。
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zOrder ↔ int
描述:视频的图层,必须唯一。取值范围:0-15。
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
将当前对象转换为 JSON 格式。
toString() → String
A string representation of this object.
inherited

Operators

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