AgoraLocalVideoStreamError Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraLocalVideoStreamError
The detailed error information of the local video.
Definition
typedef NS_ENUM(NSInteger, AgoraLocalVideoStreamError ) {
AgoraLocalVideoStreamErrorOK = 0,
AgoraLocalVideoStreamErrorFailure = 1,
AgoraLocalVideoStreamErrorDeviceNoPermission = 2,
AgoraLocalVideoStreamErrorDeviceBusy = 3,
AgoraLocalVideoStreamErrorCaptureFailure = 4,
AgoraLocalVideoStreamErrorEncodeFailure = 5,
AgoraLocalVideoStreamErrorCaptureInBackGround = 6,
AgoraLocalVideoStreamErrorCaptureMultipleForegroundApps = 7,
AgoraLocalVideoStreamErrorCaptureNoDeviceFound = 8,
AgoraLocalVideoStreamErrorCaptureDeviceDisconnected = 9,
AgoraLocalVideoStreamErrorCaptureDeviceInvalidId = 10,
AgoraLocalVideoStreamErrorScreenCaptureWindowMinimized = 11,
AgoraLocalVideoStreamErrorScreenCaptureWindowClosed = 12,
AgoraLocalVideoStreamErrorExtensionCaptureStarted = 13,
AgoraLocalVideoStreamErrorExtensionCaptureStoped = 14,
AgoraLocalVideoStreamErrorExtensionCaptureDisconnected = 15,
};
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. Remind your user to check whether another application occupies the camera.
Declared In
AgoraEnumerates.h
. AgoraLocalVideoStreamErrorCaptureFailure
-
4: The local video capture failed. Remind your user to 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. Remind your user that the application cannot capture video properly when the 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. Remind your user to 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. The SDK cannot share a minimized window. You can cancel the minimization of this window at the application layer, such as maximizing this window.
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