V2TXLiveVideoEncoderParam class

Video encoding parameters

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
Field Meaning: Minimum video bitrate, the SDK will actively reduce the video bitrate to maintain smoothness when the network is poor, and the minimum will drop to the value set by minVideoBitrate.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoBitrate int
Field Meaning: The SDK will encode the target video bitrate according to the target bitrate, and will actively reduce the video bitrate only in a weak network environment.
getter/setter pair
videoFps int
Field Meaning: The frame rate of video capture
getter/setter pair
videoResolution V2TXLiveVideoResolution
Field Meaning: Video resolution
getter/setter pair
videoResolutionMode V2TXLiveVideoResolutionMode
Field Meaning: Resolution mode (landscape resolution or portrait resolution)
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