AgoraVideoRemoteState Constants Reference

Declared in AgoraEnumerates.h

AgoraVideoRemoteState

The state of the remote video.

Definition

typedef NS_ENUM(NSUInteger, AgoraVideoRemoteState ) {
   AgoraVideoRemoteStateStopped = 0,
   AgoraVideoRemoteStateStarting = 1,
   AgoraVideoRemoteStateDecoding = 2,
   AgoraVideoRemoteStateFrozen = 3,
   AgoraVideoRemoteStateFailed = 4,
};

Constants

AgoraVideoRemoteStateStopped

0: The remote video is in the default state, probably due to AgoraVideoRemoteStateReasonLocalMuted(3), AgoraVideoRemoteStateReasonRemoteMuted(5), or AgoraVideoRemoteStateReasonRemoteOffline(7).

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateStarting

1: The first remote video packet is received.

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateDecoding

2: The remote video stream is decoded and plays normally, probably due to AgoraVideoRemoteStateReasonNetworkRecovery(2), AgoraVideoRemoteStateReasonLocalUnmuted(4), AgoraVideoRemoteStateReasonRemoteUnmuted(6), or AgoraVideoRemoteStateReasonAudioFallbackRecovery(9).

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateFrozen

3: The remote video is frozen, probably due to AgoraVideoRemoteStateReasonNetworkCongestion(1) or AgoraVideoRemoteStateReasonAudioFallback(8).

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateFailed

4: The remote video fails to start, probably due to AgoraVideoRemoteStateReasonInternal(0).

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h