RemoteAudioState enum

Inheritance
Available extensions

Values

REMOTE_AUDIO_STATE_STOPPED → const RemoteAudioState

@brief The default initial state of the remote audio stream is called back at the following times:
- Local users stop receiving remote audio streams, the corresponding reason is kRemoteAudioReasonLocalMuted in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The remote user stops sending audio streams, the corresponding reason is kRemoteAudioReasonRemoteMuted in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The remote user leaves the room, the corresponding reason is kRemoteAudioReasonRemoteOffline in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason}

REMOTE_AUDIO_STATE_STARTING → const RemoteAudioState

@brief Start receiving the remote audio stream header.

REMOTE_AUDIO_STATE_DECODING → const RemoteAudioState

@brief The remote audio stream is decoding and playing normally. The state is called back at the following time:
- Successfully decoded the first frame of the remote audio, the corresponding reason is kRemoteAudioReasonLocalUnmuted in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The network returned to normal from blocking, the corresponding reason is kRemoteAudioReasonNetworkRecovery in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The local user resumes receiving the remote audio stream, the corresponding reason is kRemoteAudioReasonLocalUnmuted in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The remote user resumes sending the audio stream, the corresponding reason is kRemoteAudioReasonRemoteUnmuted in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason}

REMOTE_AUDIO_STATE_FROZEN → const RemoteAudioState

@brief Remote audio streaming card.
Callback to this state when the packet loss rate is greater than 40% due to network blocking, the corresponding reason is
kRemoteAudioReasonNetworkCongestion in RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason}.

REMOTE_AUDIO_STATE_FAILED → const RemoteAudioState

@hidden currently not available @brief The remote audio stream failed to play @note The error code is not yet used

Properties

$value → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<RemoteAudioState>
A constant List of the values in this enum, in order of their declaration.