ZegoStreamResourceSwitchMode enum

拉流资源切换策略模式

Inheritance
  • Object
  • Enum
  • ZegoStreamResourceSwitchMode

Constructors

ZegoStreamResourceSwitchMode()
const

Values

Default → const ZegoStreamResourceSwitchMode

默认模式。SDK 会根据拉流设置的参数以及即构的后台配置自动选择拉流资源

SwitchToRTC → const ZegoStreamResourceSwitchMode

在连麦时自动切换到 RTC 源

KeepOriginal → const ZegoStreamResourceSwitchMode

在连麦时保持现有的拉流源,不切换到 RTC 源

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<ZegoStreamResourceSwitchMode>
A constant List of the values in this enum, in order of their declaration.
[Default, SwitchToRTC, KeepOriginal]