DegradationPreference enum

带宽受限时,视频编码降级偏好。

Constants

Balanced → const DegradationPreference

预留参数,暂不支持。

@JsonValue(2)
const DegradationPreference(2)
MaintainFramerate → const DegradationPreference

降低视频质量以保证编码帧率。

@JsonValue(1)
const DegradationPreference(1)
MaintainQuality → const DegradationPreference

(默认)降低编码帧率以保证视频质量。

@JsonValue(0)
const DegradationPreference(0)
values → const List<DegradationPreference>

A constant List of the values in this enum, in order of their declaration.

const List<DegradationPreference>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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