TRTCVideoEncParam class

Encoding parameters

Parameters: related to video encoder. These settings determine the quality of image viewed by remote users, which is also the image quality of recorded video files in the cloud.

Constructors

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

Properties

enableAdjustRes bool
Field description: whether resolution adjustment is allowed
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minVideoBitrate int
Field description: minimum video bitrate. The SDK will reduce the bitrate to as low as the value specified by minVideoBitrate only if the network conditions are poor.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoBitrate int
Field description: target video bitrate. The SDK encodes streams at the target video bitrate and will actively reduce the bitrate only if the network conditions are poor.
getter/setter pair
videoFps int
Field description: video capturing frame rate
getter/setter pair
videoResolution int
Field description: video resolution
getter/setter pair
videoResolutionMode int
Field description: resolution mode (landscape/portrait)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert the current object to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited