ScreenVideoEncoderConfig class

屏幕流编码配置。参考 设置视频发布参数。

Constructors

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

Properties

encoderPreference ↔ ScreenVideoEncoderPreference
屏幕流编码模式。参见 ScreenVideoEncoderPreference.
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
最小编码码率,使用 SDK 内部采集时可选设置,自定义采集时必须设置,单位:kbps。
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