StreamFallbackOptions enum

Options for handling audio and video stream fallback when network conditions are weak.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

StreamFallbackOptions()
const

Values

streamFallbackOptionDisabled → const StreamFallbackOptions

0: No fallback processing is performed on audio and video streams, the quality of the audio and video streams cannot be guaranteed.

streamFallbackOptionVideoStreamLow → const StreamFallbackOptions

1: Only receive low-quality (low resolution, low bitrate) video stream.

streamFallbackOptionAudioOnly → const StreamFallbackOptions

2: When the network conditions are weak, try to receive the low-quality video stream first. If the video cannot be displayed due to extremely weak network environment, then fall back to receiving audio-only stream.

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<StreamFallbackOptions>
A constant List of the values in this enum, in order of their declaration.