NERtc Windows SDK  V4.4.301
nertc_error_code.h
浏览该文件的文档.
1 
6 #ifndef NERTC_ERROR_CODE_H
7 #define NERTC_ERROR_CODE_H
8 
13 namespace nertc
14 {
19 typedef enum
20 {
22  //Error codes are returned when resources are wrongly assigned. Such kind of error code is not returned when the SDK sends the normal permissions.
34  //livestream task
47  //Other errors.
55  kNERtcErrInvalid = 11403,
56  // Server connection error.
68  //Engine error code
69  kNERtcErrFatal = 30001,
122 
124 typedef enum
125 {
135 
138 typedef enum
139 {
156  //kNERtcAudioMixingErrorTooFrequentCall = 101, /**< Music files frequently enabled. */
157  //kNERtcAudioMixingErrorInterruptedEOF= 102, /**< Music files playbacks interrupted. */
159 
164 typedef enum
165 {
166  //ADM
174  //VDM
179 
180 } // namespace nertc
181 
182 #endif
namespace nertc
NERtcRoomServerErrorCode
Definition: nertc_error_code.h:125
@ kNERtcRoomServerErrChannelNotExist
Definition: nertc_error_code.h:128
@ kNERtcRoomServerErrUnknown
Definition: nertc_error_code.h:131
@ kNERtcRoomServerErrOK
Definition: nertc_error_code.h:126
@ kNERtcRoomServerErrUidNotExist
Definition: nertc_error_code.h:129
@ kNERtcRoomServerErrAuthError
Definition: nertc_error_code.h:127
@ kNERtcRoomServerErrServerError
Definition: nertc_error_code.h:132
@ kNERtcRoomServerErrDataError
Definition: nertc_error_code.h:130
@ kNERtcRoomServerErrInvilid
Definition: nertc_error_code.h:133
NERtcAudioMixingErrorCode
Definition: nertc_error_code.h:139
@ kNERtcAudioMixingErrorOpen
Definition: nertc_error_code.h:146
@ kNERtcAudioMixingErrorFatal
Definition: nertc_error_code.h:141
@ kNERtcAudioMixingErrorNCodec
Definition: nertc_error_code.h:149
@ kNERtcAudioMixingErrorCodecOpen
Definition: nertc_error_code.h:151
@ kNERtcAudioMixingErrorNInfo
Definition: nertc_error_code.h:147
@ kNERtcAudioMixingErrorNMem
Definition: nertc_error_code.h:150
@ kNERtcAudioMixingErrorIoTimeout
Definition: nertc_error_code.h:154
@ kNERtcAudioMixingErrorNStream
Definition: nertc_error_code.h:148
@ kNERtcAudioMixingErrorCanNotOpen
Definition: nertc_error_code.h:142
@ kNERtcAudioMixingErrorHttpNotFound
Definition: nertc_error_code.h:145
@ kNERtcAudioMixingErrorInterrupt
Definition: nertc_error_code.h:144
@ kNERtcAudioMixingErrorOpenTimeout
Definition: nertc_error_code.h:153
@ kNERtcAudioMixingErrorOK
Definition: nertc_error_code.h:140
@ kNERtcAudioMixingErrorIo
Definition: nertc_error_code.h:155
@ kNERtcAudioMixingErrorInvalidInfo
Definition: nertc_error_code.h:152
@ kNERtcAudioMixingErrorDecode
Definition: nertc_error_code.h:143
NERtcDMErrorCode
Definition: nertc_error_code.h:165
@ kNERtcRuntimeErrADMInitRecording
Definition: nertc_error_code.h:167
@ kNERtcRuntimeErrADMStopRecording
Definition: nertc_error_code.h:169
@ kNERtcErrVDMCameraCreateFail
Definition: nertc_error_code.h:176
@ kNERtcRuntimeErrADMStopPlayout
Definition: nertc_error_code.h:172
@ kNERtcRuntimeErrADMStartRecording
Definition: nertc_error_code.h:168
@ kNERtcRuntimeErrADMStartPlayout
Definition: nertc_error_code.h:171
@ kNERtcRuntimeErrADMInitPlayout
Definition: nertc_error_code.h:170
@ kNERtcErrVDMCameraNoFrame
Definition: nertc_error_code.h:175
NERtcErrorCode
Definition: nertc_error_code.h:20
@ kNERtcErrInvalid
Definition: nertc_error_code.h:55
@ kNERtcErrSwitchChannelInvalidState
Definition: nertc_error_code.h:99
@ kNERtcErrStreamNotFound
Definition: nertc_error_code.h:106
@ kNERtcErrChannelJoinDesKey
Definition: nertc_error_code.h:65
@ kNERtcErrUserNotFound
Definition: nertc_error_code.h:95
@ kNERtcErrLsTaskDuplicateId
Definition: nertc_error_code.h:39
@ kNERtcErrChannelReserveErrorParam
Definition: nertc_error_code.h:30
@ kNERtcErrStartDumpFail
Definition: nertc_error_code.h:85
@ kNERtcErrChannelMediaRelayStopFailed
Definition: nertc_error_code.h:102
@ kNERtcErrChannelJoinRtmpHostError
Definition: nertc_error_code.h:61
@ kNERtcErrChannelJoinInvalidRequst
Definition: nertc_error_code.h:66
@ kNERtcErrRequestJoinChannelFail
Definition: nertc_error_code.h:93
@ kNERtcErrLsTaskNumLimit
Definition: nertc_error_code.h:38
@ kNERtcErrSessionNotFound
Definition: nertc_error_code.h:94
@ kNERtcErrVersionRemoteLow
Definition: nertc_error_code.h:51
@ kNERtcErrLsTaskNotFound
Definition: nertc_error_code.h:40
@ kNERtcErrDesktopCaptureNotReady
Definition: nertc_error_code.h:88
@ kNERtcErrConnectFail
Definition: nertc_error_code.h:83
@ kNERtcErrInvalidRender
Definition: nertc_error_code.h:80
@ kNERtcErrDevicePreviewAlreadyStarted
Definition: nertc_error_code.h:81
@ kNERtcErrMediaConnectionDisconnected
Definition: nertc_error_code.h:109
@ kNERtcErrEncryptNotSuitable
Definition: nertc_error_code.h:103
@ kNERtcErrLackOfResource
Definition: nertc_error_code.h:74
@ kNERtcErrInvalidUserID
Definition: nertc_error_code.h:96
@ kNERtcErrDesktopCaptureInvalidState
Definition: nertc_error_code.h:86
@ kNERtcErrLsTaskInternalServerErr
Definition: nertc_error_code.h:42
@ kNERtcErrChannelLeaveBySwitchAction
Definition: nertc_error_code.h:113
@ kNERtcNoError
Definition: nertc_error_code.h:21
@ kNERtcErrInvalidParam
Definition: nertc_error_code.h:71
@ kNERtcErrTrackNotFound
Definition: nertc_error_code.h:108
@ kNERtcErrSignalDisconnected
Definition: nertc_error_code.h:110
@ kNERtcErrInvalidVideoProfile
Definition: nertc_error_code.h:78
@ kNERtcErrChannelJoinTimeOut
Definition: nertc_error_code.h:57
@ kNERtcErrChannelServerUnknown
Definition: nertc_error_code.h:67
@ kNERtcErrChannelReserveTimeOut
Definition: nertc_error_code.h:29
@ kNERtcRuntimeErrADMNoAuthorize
Definition: nertc_error_code.h:115
@ kNERtcErrChannelJoinRtmpCreateError
Definition: nertc_error_code.h:62
@ kNERtcErrDeviceNotFound
Definition: nertc_error_code.h:76
@ kNERtcErrLsTaskRoomExited
Definition: nertc_error_code.h:37
@ kNERtcErrChannelMediaRelayInvalidState
Definition: nertc_error_code.h:100
@ kNERtcErrDesktopCaptureInvalidParam
Definition: nertc_error_code.h:87
@ kNERtcErrChannelClosed
Definition: nertc_error_code.h:52
@ kNERtcErrChannelKicked
Definition: nertc_error_code.h:53
@ kNERtcErrLsTaskUserPicErr
Definition: nertc_error_code.h:44
@ kNERtcErrChannelRepleatedlyLeave
Definition: nertc_error_code.h:92
@ kNERtcErrChannelReservePermissionDenied
Definition: nertc_error_code.h:28
@ kNERtcErrLsTaskRequestErr
Definition: nertc_error_code.h:41
@ kNERtcErrSourceNotFound
Definition: nertc_error_code.h:98
@ kNERtcErrKickedForRoomClosed
Definition: nertc_error_code.h:112
@ kNERtcErrChannelDisconnected
Definition: nertc_error_code.h:49
@ kNERtcErrInvalidIndex
Definition: nertc_error_code.h:75
@ kNERtcErrAddTrackFail
Definition: nertc_error_code.h:107
@ kNERtcErrCreateDeviceSourceFail
Definition: nertc_error_code.h:79
@ kNERtcErrChannelNotJoined
Definition: nertc_error_code.h:91
@ kNERtcErrConnectionNotFound
Definition: nertc_error_code.h:105
@ kNERtcErrChannelJoinInvalidParam
Definition: nertc_error_code.h:64
@ kNERtcErrFatal
Definition: nertc_error_code.h:69
@ kNERtcErrDataError
Definition: nertc_error_code.h:54
@ kNERtcErrOutOfMemory
Definition: nertc_error_code.h:70
@ kNERtcErrVersionSelfLow
Definition: nertc_error_code.h:50
@ kNERtcErrNotSupported
Definition: nertc_error_code.h:72
@ kNERtcErrChannelStartFail
Definition: nertc_error_code.h:48
@ kNERtcErrInvalidDeviceSourceID
Definition: nertc_error_code.h:77
@ kNERtcErrTransmitPendding
Definition: nertc_error_code.h:82
@ kNERtcErrServerKicked
Definition: nertc_error_code.h:111
@ kNERtcErrChannelJoinLayoutError
Definition: nertc_error_code.h:63
@ kNERtcErrMediaNotStarted
Definition: nertc_error_code.h:97
@ kNERtcErrLsTaskRequestInvalid
Definition: nertc_error_code.h:35
@ kNERtcErrChannelAlreadyJoined
Definition: nertc_error_code.h:90
@ kNERtcErrChannelMediaRelayPermissionDenied
Definition: nertc_error_code.h:101
@ kNERtcErrChannelJoinRtmpNodesError
Definition: nertc_error_code.h:60
@ kNERtcErrLsTaskInvalidLayout
Definition: nertc_error_code.h:43
@ kNERtcErrChannelJoinMeetingModeError
Definition: nertc_error_code.h:58
@ kNERtcErrChannelReserveMoreThanTwoUser
Definition: nertc_error_code.h:32
@ kNERtcRuntimeErrScreenCaptureNoAuthorize
Definition: nertc_error_code.h:119
@ kNERtcErrChannelReserveServerFail
Definition: nertc_error_code.h:31
@ kNERtcErrInvalidState
Definition: nertc_error_code.h:73
@ kNERtcErrLsTaskIsInvaild
Definition: nertc_error_code.h:36
@ kNERtcRuntimeErrVDMNoAuthorize
Definition: nertc_error_code.h:117
@ kNERtcErrChannelJoinRtmpModeError
Definition: nertc_error_code.h:59
@ kNERtcErrCreateDumpFileFail
Definition: nertc_error_code.h:84