AgoraLocalVideoStreamState Constants Reference
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: 本地视频采集设备启动成功。调用 startScreenCaptureByWindowId 方法共享窗口且共享窗口为最大化时,也会报告该状态。
Available in v3.1.0
Declared In
AgoraEnumerates.h
. AgoraLocalVideoStreamStateEncoding
-
2: 本地视频首帧编码成功。
Declared In
AgoraEnumerates.h
. AgoraLocalVideoStreamStateFailed
-
3: 本地视频启动失败。
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h