RemoteAudioState enum
{zh} * @detail keytype @brief 用户订阅的远端音频流状态。
Values
- 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 iskRemoteAudioReasonLocalMutedin RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The remote user stops sending audio streams, the corresponding reason iskRemoteAudioReasonRemoteMutedin RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The remote user leaves the room, the corresponding reason iskRemoteAudioReasonRemoteOfflinein RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - starting → const RemoteAudioState
-
@brief Start receiving the remote audio stream header.
- 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 iskRemoteAudioReasonLocalUnmutedin RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The network returned to normal from blocking, the corresponding reason iskRemoteAudioReasonNetworkRecoveryin RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The local user resumes receiving the remote audio stream, the corresponding reason iskRemoteAudioReasonLocalUnmutedin RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - The remote user resumes sending the audio stream, the corresponding reason iskRemoteAudioReasonRemoteUnmutedin RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason} - 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
kRemoteAudioReasonNetworkCongestionin RemoteAudioStateChangeReason{@link #RemoteAudioStateChangeReason}. - 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.