V2TXLiveTranscodingConfig class

Configure cloud stream mixing (transcoding).

Constructors

V2TXLiveTranscodingConfig({int videoWidth = 360, int videoHeight = 640, int videoBitrate = 0, int videoFramerate = 15, int videoGOP = 2, int backgroundColor = 0x000000, int audioSampleRate = 48000, int audioBitrate = 64, int audioChannels = 1})

Properties

audioBitrate ↔ int
Field Meaning: The final transcoded audio bitrate
getter/setter pair
audioChannels ↔ int
Field Meaning: The number of audio channels after final transcoding
getter/setter pair
audioSampleRate ↔ int
Field Meaning: The final transcoded audio sample rate
getter/setter pair
backgroundColor ↔ int
【Field Meaning】The background color of the mixed screen is black by default, and the format is hexadecimal numbers, for example: "0x61B9F1" represents RGB (97,158,241)
getter/setter pair
backgroundImage ↔ String?
Field Meaning: The background image of the blended screen
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
mixStreams ↔ List<V2TXLiveMixStream>
Field Meaning: The location information of each sprite
getter/setter pair
outputStreamId ↔ String?
Field Meaning: The ID of the live stream output to the CDN
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
videoBitrate ↔ int
Field Meaning: The bitrate of the final transcoded video resolution (kbps)
getter/setter pair
videoFramerate ↔ int
Field Meaning: Frame Rate (FPS) of the final transcoded video resolution
getter/setter pair
videoGOP ↔ int
Field Meaning: The keyframe interval of the final transcoded video resolution (also known as GOP)
getter/setter pair
videoHeight ↔ int
Field Meaning: The height of the final transcoded video resolution
getter/setter pair
videoWidth ↔ int
Field Meaning: The width of the final transcoded video resolution
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