TRTCVideoLayout class

Configuration of video layout properties for TRTC streaming, including position, size, layers, etc.

Constructors

TRTCVideoLayout()

Properties

backgroundColor int
Description: The background color of the mixed stream.
getter/setter pair
fillMode TRTCVideoFillMode
Description: The rendering mode.
getter/setter pair
fixedVideoStreamType TRTCVideoStreamType
Description: Whether the video is the primary stream (TRTCVideoStreamTypeBig) or substream (e TRTCVideoStreamTypeSub).
getter/setter pair
fixedVideoUser TRTCUser
Description: The users whose streams are transcoded.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
placeHolderImage String
Description: The URL of the placeholder image. If a user sends only audio, the image specified by the URL will be mixed during On-Cloud MixTranscoding.
getter/setter pair
rect Rect
Description: The coordinates (in pixels) of the video.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zOrder int
Description: The layer of the video, which must be unique. Value range: 0-15.
getter/setter pair

Methods

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

Operators

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