AgoraLocalVideoStreamError Constants Reference

Declared in AgoraEnumerates.h

AgoraLocalVideoStreamError

The detailed error information of the local video.

Constants

AgoraLocalVideoStreamErrorOK

0: The local video is normal.

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorFailure

1: No specified reason for the local video failure.

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorDeviceNoPermission

2: The application does not have permission to start the local video capture device. Remind your user to grant permission and rejoin the channel.

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorDeviceBusy

3: The local video capture device is in use. Check whether the camera is occupied by another application or try to rejoin the channel.

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorCaptureFailure

4: The local video capture failed. Check whether the video capture device is working properly, check whether the camera is occupied by another application, or try to rejoin the channel.

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorEncodeFailure

5: The local video encoding fails.

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorCaptureInBackGround

6: (iOS only) The application is in the background. Remind your user that the application cannot capture video properly when the application is in the background.

Available in v3.3.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorCaptureMultipleForegroundApps

7: (iOS only) This error code is reported when the current app is running in Slide Over, Split View, or Picture in Picture mode and another app is occupying the camera.

Available in v3.3.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorCaptureNoDeviceFound

8: The SDK cannot find the local video capture device. Check whether the camera is connected to the device properly, check whether the camera is working properly, or try to rejoin the channel.

Available in v3.4.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorCaptureDeviceDisconnected

9: (macOS only) The external camera currently in use is disconnected (such as being unplugged).

Available in v3.5.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorCaptureDeviceInvalidId

10: The SDK cannot find the local video device id in device list, device id is invalid.

Available in v3.5.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorScreenCaptureWindowMinimized

11: (macOS only) The shared window is minimized when you call startScreenCaptureByWindowId to share a window. Remind your user that the window cannot be shared properly when the shared window is minimized.

Available in v3.1.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorScreenCaptureWindowClosed

12: (macOS only) As of v3.6.2, the error code indicates that a window shared by the window ID has been closed.

Available in v3.2.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorExtensionCaptureStarted

13: (iOS only) The screen sharing extension process starts.

Available in v3.7.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorExtensionCaptureStoped

14: (iOS only) The screen sharing extension process ends.

Available in v3.7.0

Declared In AgoraEnumerates.h.

AgoraLocalVideoStreamErrorExtensionCaptureDisconnected

15: (iOS only) The screen sharing extension process quits unexpectedly.

Available in v3.7.0

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h