AgoraVideoRemoteState 常量

Declared in AgoraEnumerates.h

AgoraVideoRemoteState

远端视频流状态

Definition

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

Constants

AgoraVideoRemoteStateStopped

0: 远端视频默认初始状态。在 AgoraVideoRemoteStateReasonLocalMuted(3)、AgoraVideoRemoteStateReasonRemoteMuted(5) 或 AgoraVideoRemoteStateReasonRemoteMuted(7) 的情况下,会报告该状态。

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateStarting

1: 本地用户已接收远端视频首包。

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateDecoding

2: 远端视频流正在解码,正常播放。在 AgoraVideoRemoteStateReasonNetworkRecovery(2)、AgoraVideoRemoteStateReasonNetworkRecovery(4)、AgoraVideoRemoteStateReasonRemoteUnmuted(6) 或 AgoraVideoRemoteStateReasonAudioFallbackRecovery(9) 的情况下,会报告该状态。

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateFrozen

3: 远端视频流卡顿。在 AgoraVideoRemoteStateReasonNetworkCongestion(1) 或 AgoraVideoRemoteStateReasonAudioFallback(8) 的情况下,会报告该状态。

Declared In AgoraEnumerates.h.

AgoraVideoRemoteStateFailed

4: 远端视频流播放失败。在 AgoraVideoRemoteStateReasonInternal(0) 的情况下,会报告该状态。

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h