ZegoVideoRateControlMode enum

视频码率控制模式,默认恒定码率

Inheritance
  • Object
  • Enum
  • ZegoVideoRateControlMode

Constructors

ZegoVideoRateControlMode()
const

Values

ConstantRate → const ZegoVideoRateControlMode

恒定码率。

ConstantQuality → const ZegoVideoRateControlMode

恒定质量,表示保证视频的清晰度在固定水平上,因此若采用此控制模式,码率会根据网速的变化波动。比如游戏类直播时,为了让观众看到比较流畅的操作类画面会使用恒定质量模式,提升视频质量。

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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

Constants

values → const List<ZegoVideoRateControlMode>
A constant List of the values in this enum, in order of their declaration.
[ConstantRate, ConstantQuality]