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 capturer starts successfully.

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