TRTCVideoEncParam class

编码参数

视频编码器相关参数,该设置决定了远端用户看到的画面质量(同时也是云端录制出的视频文件的画面质量)

Constructors

TRTCVideoEncParam({int videoBitrate = 200, int videoResolution = 1, int videoResolutionMode = 1, int videoFps = 10, int minVideoBitrate = 200, bool enableAdjustRes = false})

Properties

enableAdjustRes bool
【字段含义】是否允许调整分辨率
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minVideoBitrate int
【字段含义】最低视频码率,SDK 会在网络不佳的情况下主动降低视频码率,最低会降至 minVideoBitrate 所设定的数值。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoBitrate int
【字段含义】目标视频码率,SDK 会按照目标码率进行编码,只有在网络不佳的情况下才会主动降低视频码率。
getter/setter pair
videoFps int
【字段含义】视频采集帧率
getter/setter pair
videoResolution int
【字段含义】 视频分辨率
getter/setter pair
videoResolutionMode int
【字段含义】分辨率模式(横屏分辨率 - 竖屏分辨率)
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