AgoraLocalVideoStreamState Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraLocalVideoStreamState
The state of the local video stream.
Definition
typedef NS_ENUM(NSInteger, AgoraLocalVideoStreamState ) {
AgoraLocalVideoStreamStateStopped = 0,
AgoraLocalVideoStreamStateCapturing = 1,
AgoraLocalVideoStreamStateEncoding = 2,
AgoraLocalVideoStreamStateFailed = 3,
};
Constants
AgoraLocalVideoStreamStateStopped
-
0: The local video is in the initial state.
Declared In
AgoraEnumerates.h
. AgoraLocalVideoStreamStateCapturing
-
1: The local video capturing device starts successfully. The SDK also reports this state when you share a maximized window by calling startScreenCaptureByWindowId.
Available in v3.1.0
Declared In
AgoraEnumerates.h
. AgoraLocalVideoStreamStateEncoding
-
2: The first local video frame encodes successfully.
Declared In
AgoraEnumerates.h
. AgoraLocalVideoStreamStateFailed
-
3: The local video fails to start.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h