VideoEncoderConfig class Null safety
视频流参数描述
Constructors
- VideoEncoderConfig({required int width, required int height, required int frameRate, int maxBitrate = -1, EncoderPreference encoderPreference = EncoderPreference.maintainFrameRate})
Properties
- encoderPreference ↔ EncoderPreference
-
编码策略偏好
read / write
- frameRate ↔ int
-
视频帧率,单位:fps
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- height ↔ int
-
视频高度,单位:px
read / write
- maxBitrate ↔ int
-
最大编码码率,使用 SDK 内部采集时可选设置,自定义采集时必须设置,单位:kbps [...]
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- width ↔ int
-
视频宽度,单位:px
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited