StreamFallbackOptions enum

流回退选项。

Constants

AudioOnly → const StreamFallbackOptions

上行网络较弱时,只发布音频流。下行网络较弱时,先尝试只接收视频小流; 如果网络环境无法显示视频,则再回退到只接收远端订阅的音频流。

@JsonValue(2)
const StreamFallbackOptions(2)
Disabled → const StreamFallbackOptions

上/下行网络较弱时,不对音视频流作回退处理,但不能保证音视频流的质量。

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

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

const List<StreamFallbackOptions>
VideoStreamLow → const StreamFallbackOptions

下行网络较弱时只接收视频小流。

该选项只对 setRemoteSubscribeFallbackOption 方法有效,对 setLocalPublishFallbackOption 方法无效。 详见 RtcEngine.setRemoteSubscribeFallbackOptionRtcEngine.setLocalPublishFallbackOption

@JsonValue(1)
const StreamFallbackOptions(1)

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