ZegoStreamResourceMode enum

拉流资源策略模式

Inheritance
  • Object
  • Enum
  • ZegoStreamResourceMode

Constructors

ZegoStreamResourceMode()
const

Values

Default → const ZegoStreamResourceMode

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

OnlyCDN → const ZegoStreamResourceMode

仅从 CDN 拉流

OnlyL3 → const ZegoStreamResourceMode

仅从 L3 拉流

OnlyRTC → const ZegoStreamResourceMode

仅从 RTC 拉流

CDNPlus → const ZegoStreamResourceMode

【已废弃】CDN Plus 拉流。SDK 会根据网络状况自动切换拉流资源

Custom → const ZegoStreamResourceMode

自定义拉流模式。SDK 会根据拉流设置的 customResourceConfig 参数选择拉流资源

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<ZegoStreamResourceMode>
A constant List of the values in this enum, in order of their declaration.
[Default, OnlyCDN, OnlyL3, OnlyRTC, CDNPlus, Custom]