AgoraLocalVideoStreamState 常量

Declared in AgoraEnumerates.h

AgoraLocalVideoStreamState

本地视频状态

Definition

typedef NS_ENUM(NSInteger, AgoraLocalVideoStreamState ) {
   AgoraLocalVideoStreamStateStopped = 0,
   AgoraLocalVideoStreamStateCapturing = 1,
   AgoraLocalVideoStreamStateEncoding = 2,
   AgoraLocalVideoStreamStateFailed = 3,
};

Constants

AgoraLocalVideoStreamStateStopped

0: 本地视频默认初始状态。

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamStateCapturing

1: 本地视频采集设备启动成功。

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamStateEncoding

2: 本地视频首帧编码成功。

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamStateFailed

3: 本地视频启动失败。

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h