TRTCStreamEncoderParam class

发布流的相关编码设置,包含分辨率、帧率、关键帧间隔等等

Constructors

TRTCStreamEncoderParam()

Properties

audioEncodedChannelNum ↔ int
描述:要发布的流的声道数。
getter/setter pair
audioEncodedCodecType ↔ int
描述:要发布的流的音频编解码器。
getter/setter pair
audioEncodedKbps ↔ int
描述:要发布的流的音频比特率(Kbps)。
getter/setter pair
audioEncodedSampleRate ↔ int
描述:要发布的流的音频采样率。
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
描述:要发布的流的帧率(fps)。
getter/setter pair
videoEncodedGOP ↔ int
描述:要发布的流的关键帧间隔(GOP)。
getter/setter pair
videoEncodedHeight ↔ int
描述:要发布的流的分辨率(高度)。
getter/setter pair
videoEncodedKbps ↔ int
描述:要发布的流的视频比特率(Kbps)。
getter/setter pair
videoEncodedWidth ↔ int
描述:要发布的流的分辨率(宽度)。
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