TRTCStreamMixingConfig class

Settings related to TRTC mixing and streaming, including background color, background image, information about all video and audio streams to be mixed, and watermark settings.

Constructors

TRTCStreamMixingConfig()

Properties

audioMixUserList List<TRTCUser>
Description: The position, size, layer, and stream type of each video in On-Cloud MixTranscoding.
getter/setter pair
backgroundColor int
Description: The background color of the mixed stream.
getter/setter pair
backgroundImage String
Description: The URL of the background image of the mixed stream. The image specified by the URL will be mixed during On-Cloud MixTranscoding.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoLayoutList List<TRTCVideoLayout>
Description: The information of each audio stream to mix.
getter/setter pair
watermarkList List<TRTCWatermark>
Description: The position, size, and layer of each watermark image in On-Cloud MixTranscoding.
getter/setter pair

Methods

audioMixUserListToJson() List<Map<String, dynamic>>
Convert audioMixUserList to Json format
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
videoLayoutListToJson() List<Map<String, dynamic>>
Convert videoLayoutList to Json format
watermarkListToJson() List<Map<String, dynamic>>
Convert watermarkList to Json format

Operators

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