| Streamaxia Open SDK 3.2

AXSDKErrorCodes.h
1 //
2 // AXSDKErrorCodes.h
3 // StreamaxiaSDK
4 //
5 // Created by Mihaita Babici on 9/9/16.
6 // Copyright © 2016 Agilio. All rights reserved.
7 //
8
9 @import Foundation;
10
14 typedef NS_ENUM(NSInteger, AXErrorCode) {
15 AXErrorCodeUnknown = -1,
16 AXErrorCodeGenericError = 0,
17
18 AXErrorCodeNeedsAccessToMicrophone = 1001,
19 AXErrorCodeNeedsAccessToCamera,
20
21 AXErrorCodeCameraNotPresent = 2001,
22 AXErrorCodeCameraUnavailable,
23
24 AXErrorCodeTorchModeNotSupported = 3001,
25 AXErrorCodeTorchModeUnavailable,
26 AXErrorCodeTorchLevelUnavailable,
27
28 AXErrorCodeKeyFrameIntervalLocked = 4001,
29
30 AXErrorCodeBitrateCannotChange = 5001,
31 AXErrorCodeAudioSampleRateIsLocked,
32
33 AXErrorCodeResolutionIsLocked = 6001,
34 AXErrorCodeResolutionNotSupported,
35
36 AXErrorCodeCaptureSessionError = 10001,
37
38 AXErrorCodeStreamingError = 11001,
39 AXErrorCodeStreamerNotReady,
40 AXErrorCodeLostServerConnection,
41 AXErrorCodeNoInternetConnection,
42 AXErrorCodeStreamingAlreadyRunning,
43
44 AXErrorCodeSDKInvalidConfiguration = 20001,
45 AXErrorCodeSDKLicenceHasExpired,
46 AXErrorCodeSDKInvalidBundleID,
47 AXErrorCodeSDKInvalidLicenceKey,
48 AXErrorCodeSDKFeatureNotAvailable,
49
50 AXErrorCodeAudioEncodingFailure = 60001,
51 AXErrorCodeVideoEncodingFailure = 70001,
52 AXErrorCodeRTMPConnectionFailure = 80001,
53 AXErrorCodeLocalSaveFailure = 90001,
54 AXErrorPostToPhotosFailure = 100001,
55
56 AXErrorKeychainAccessFailure = 110001,
57 AXErrorStreamLimitReached = 120001
58 };
59
67 extern NSString *AXErrorCodeAsString(AXErrorCode code);
68
69 @interface AXSDKErrorCodes : NSObject
70
71 @end
AXSDKErrorCodes
Definition: AXSDKErrorCodes.h:69