V2TXLiveVideoEncoderParam class

视频编码参数

Constructors

V2TXLiveVideoEncoderParam({V2TXLiveVideoResolution videoResolution = V2TXLiveVideoResolution.v2TXLiveVideoResolution960x540, V2TXLiveVideoResolutionMode videoResolutionMode = V2TXLiveVideoResolutionMode.v2TXLiveVideoResolutionModePortrait, int videoFps = 15, int videoBitrate = 1500, int minVideoBitrate = 800})

Properties

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 V2TXLiveVideoResolution
【字段含义】 视频分辨率
getter/setter pair
videoResolutionMode V2TXLiveVideoResolutionMode
【字段含义】分辨率模式(横屏分辨率 or 竖屏分辨率)
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