TRTCStreamEncoderParam class

Encoding settings related to the published stream, including resolution, frame rate, keyframe interval, etc.

Constructors

TRTCStreamEncoderParam()

Properties

audioEncodedChannelNum ↔ int
Description: The sound channels of the stream to publish.
getter/setter pair
audioEncodedCodecType ↔ int
Description: The audio codec of the stream to publish.
getter/setter pair
audioEncodedKbps ↔ int
Description: The audio bitrate (Kbps) of the stream to publish.
getter/setter pair
audioEncodedSampleRate ↔ int
Description: The audio sample rate of the stream to publish.
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
videoEncodedFPS ↔ int
Description: The frame rate (fps) of the stream to publish.
getter/setter pair
videoEncodedGOP ↔ int
Description: The keyframe interval (GOP) of the stream to publish.
getter/setter pair
videoEncodedHeight ↔ int
Description: The resolution (height) of the stream to publish.
getter/setter pair
videoEncodedKbps ↔ int
Description: The video bitrate (Kbps) of the stream to publish.
getter/setter pair
videoEncodedWidth ↔ int
Description: The resolution (width) of the stream to publish.
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