TRTCVideoEncParam class Null safety

编码参数

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

Constructors

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

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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