AgoraAudioRemoteState Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraAudioRemoteState
The state of the remote audio.
Definition
typedef NS_ENUM(NSUInteger, AgoraAudioRemoteState ) {
AgoraAudioRemoteStateStopped = 0,
AgoraAudioRemoteStateStarting = 1,
AgoraAudioRemoteStateDecoding = 2,
AgoraAudioRemoteStateFrozen = 3,
AgoraAudioRemoteStateFailed = 4,
};
Constants
AgoraAudioRemoteStateStopped
-
0: The remote audio is in the default state, probably due to AgoraAudioRemoteReasonLocalMuted(3), AgoraAudioRemoteReasonRemoteMuted(5), or AgoraAudioRemoteReasonRemoteOffline(7).
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteStateStarting
-
1: The first remote audio packet is received.
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteStateDecoding
-
2: The remote audio stream is decoded and plays normally, probably due to AgoraAudioRemoteReasonNetworkRecovery(2), AgoraAudioRemoteReasonLocalUnmuted(4), or AgoraAudioRemoteReasonRemoteUnmuted(6).
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteStateFrozen
-
3: The remote audio is frozen, probably due to AgoraAudioRemoteReasonNetworkCongestion(1).
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteStateFailed
-
4: The remote audio fails to start, probably due to AgoraAudioRemoteReasonInternal(0).
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h