ZegoVideoConfigPreset enum

视频配置分辨率与比特率预设枚举。预设的分辨率分别针对移动端与桌面端做了适配。在移动端上 height 长于 width,而桌面端相反。例如 1080p 在移动端上实际为 1080(w) x 1920(h),而在桌面端上实际为 1920(w) x 1080(h)

Inheritance
  • Object
  • Enum
  • ZegoVideoConfigPreset

Constructors

ZegoVideoConfigPreset()
const

Values

Preset180P → const ZegoVideoConfigPreset

设置分辨率为 320x180,默认采用 15 fps,码率 300 kbps

Preset270P → const ZegoVideoConfigPreset

设置分辨率为 480x270,默认采用 15 fps,码率 400 kbps

Preset360P → const ZegoVideoConfigPreset

设置分辨率为 640x360,默认采用 15 fps,码率 600 kbps

Preset540P → const ZegoVideoConfigPreset

设置分辨率为 960x540,默认采用 15 fps,码率 1200 kbps

Preset720P → const ZegoVideoConfigPreset

设置分辨率为 1280x720,默认采用 15 fps,码率 1500 kbps

Preset1080P → const ZegoVideoConfigPreset

设置分辨率为 1920x1080,默认采用 15 fps,码率 3000 kbps

Properties

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

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<ZegoVideoConfigPreset>
A constant List of the values in this enum, in order of their declaration.
[Preset180P, Preset270P, Preset360P, Preset540P, Preset720P, Preset1080P]