VideoEncoderConfig class

视频流参数描述

Constructors

VideoEncoderConfig({required int width, required int height, required int frameRate, int maxBitrate = -1, int minBitrate = 0, VideoEncoderPreference encoderPreference = VideoEncoderPreference.maintainFrameRate})

Properties

encoderPreference ↔ VideoEncoderPreference
编码策略偏好
read / write
frameRate ↔ int
视频帧率,单位:fps
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
height ↔ int
视频高度,单位:px
read / write
maxBitrate ↔ int
最大编码码率,使用 SDK 内部采集时可选设置,自定义采集时必须设置,单位:kbps
read / write
minBitrate ↔ int
视频最小编码码率, 单位 kbps。编码码率不会低于 minBitrate。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
width ↔ int
视频宽度,单位:px
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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