121 inline const char* OpResultToString(
OpResult res)
125 case OR_Success:
return "The operation completed successfully";
126 case OR_Failed:
return "The operation failed";
131 case OR_NotSupported:
return "Function or feature is not supported on the asset";
147 case OR_StreamInUse:
return "The stream is in use by another account";
149 case OR_EnhanceAreaBadPos:
return "The full resolution area position is not within the current frame";
159 case OR_IDConflict:
return "The ID of the alarm rule is in conflict";
160 case OR_IDInvalid:
return "The ID if the alarm rule is not valid";
162 case OR_IOError:
return "There has been read/write error";
164 case OR_NoArchiveFootage:
return "There is no archive footage available, possibly it has not yet been recorded";
165 case OR_NoLicense:
return "There are no viewer licenses available";
176 case OR_TooManyRequests:
return "The GOP download service cannot accept another GOP request";
178 case OR_TooManyRecordings:
return "The GOP download request includes too many recording entries";
179 case OR_AccountInUse:
return "The server has single sign-on enabled and the user is logged in already";
182 case OR_TooManyRules:
return "There are too many rules on the encoder to add a new one";
183 case OR_TooManyActions:
return "The rule contains more actions than the encoder can support";
184 case OR_Cancelled:
return "The requested operation was cancelled";
190 case OR_CryptoProtocolError:
return "The client and server could not agree on a protocol that both supported - this may be due to a supplied encryption key version";
191 case OR_BadClusterConfig:
return "The cluster config could not be parsed or was inconsistent with the current server address";
194 case OR_RestUnauthorized:
return "A REST API request has been rejected as the user in not authorized";
195 case OR_RestForbidden:
return "The REST API request was for a forbidden URL";
197 case OR_RestNotFound:
return "The REST API request has failed with a not found error";
198 case OR_MFAEnrolmentRequired:
return "The user is required by the server to setup two factor authentication on their device";
199 case OR_MFARequired:
return "The user is required to provide additional authentication credentials";
200 case OR_MFAInvalidCode:
return "The one time passcode the user provided is invalid";
201 case OR_MFACodeReuse:
return "The one time passcode provided has already been used";
204 case OR_MFAEmergencyCodeReuse:
return "The emergency one time passcode has previously been used: emergency codes can only be used once";
205 case OR_BadRequest:
return "The request was malformed and was rejected by the server";
206 case OR_ServerError:
return "An internal error occurred on the server during the previous request";
207 case OR_ServerIDMismatch:
return "The server that has been contacted has a different UUID or encryption ID from the one expected";
212 case OR_WebLoginRequired:
return "The user must log in to the web portal to proceed with login";
213 case OR_DNSFailure:
return "An IP address could not be resolved so the server is not reachable";
217 return "Unknown error";
OpResult
Result of an operation.
Definition OpResult.h:26
@ OR_IOError
There has been read/write error.
Definition OpResult.h:64
@ OR_TooManyRecordings
The GOP download request includes too many recording entries.
Definition OpResult.h:80
@ OR_ServerError
An internal error occurred on the server during the previous request.
Definition OpResult.h:108
@ OR_SSOOpenIdAuthCodeRequired
no one-time authCode was supplied for SSO OpenId login
Definition OpResult.h:113
@ OR_NotImplemented
Function or feature has not been implemented.
Definition OpResult.h:32
@ OR_CryptoProtocolError
The client and server could not agree on a protocol that both supported - this may be due to a suppli...
Definition OpResult.h:92
@ OR_TMSRequestTimedOut
Request to list/download TMS files timed out.
Definition OpResult.h:89
@ OR_NoArchiveFootage
There is no archive footage available, possibly it has not yet been recorded.
Definition OpResult.h:66
@ OR_BadClusterConfig
The cluster config could not be parsed or was inconsistent with the current server address.
Definition OpResult.h:93
@ OR_AccountInactive
The user account has been marked as inactive.
Definition OpResult.h:73
@ OR_CryptoUpgradeAvailable
An upgraded server key is available to enable stronger encryption.
Definition OpResult.h:90
@ OR_CryptoNegotiationFailed
The negotiation of the encryption scheme failed.
Definition OpResult.h:91
@ OR_StreamInUse
The stream is in use by another account.
Definition OpResult.h:49
@ OR_NoLicense
There are no viewer licenses available.
Definition OpResult.h:67
@ OR_SettingNotValid
The setting is not valid.
Definition OpResult.h:42
@ OR_InvalidEnhanceFrameIdx
The full resolution index is not valid.
Definition OpResult.h:53
@ OR_Unknown
Unknown error.
Definition OpResult.h:118
@ OR_IDInvalid
The ID if the alarm rule is not valid.
Definition OpResult.h:62
@ OR_InvalidProfileName
The profile name is invalid.
Definition OpResult.h:45
@ OR_EnhanceAreaBadPos
The full resolution area position is not within the current frame.
Definition OpResult.h:51
@ OR_ConfigSettingsFailed
The configuration setting failed.
Definition OpResult.h:43
@ OR_AccountInUse
The server has single sign-on enabled and the user is logged in already.
Definition OpResult.h:81
@ OR_TMSTokenNotObtained
Valid TMS web token was not obtained.
Definition OpResult.h:87
@ OR_RestBadRequest
A REST API request has returned bad request.
Definition OpResult.h:95
@ OR_RestServerError
The REST API server has encountered an error.
Definition OpResult.h:98
@ OR_InvalidDevice
The device is not valid.
Definition OpResult.h:110
@ OR_MFARequired
The user is required to provide additional authentication credentials.
Definition OpResult.h:101
@ OR_LicenseGraceExpired
The license has a grace period set.
Definition OpResult.h:71
@ OR_InvalidStream
The stream is invalid.
Definition OpResult.h:40
@ OR_TooManyRules
There are too many rules on the encoder to add a new one.
Definition OpResult.h:84
@ OR_AccountDisabled
The user account has been disabled.
Definition OpResult.h:72
@ OR_NotSupported
Function or feature is not supported on the asset.
Definition OpResult.h:33
@ OR_NewPasswordRequired
The users must set a new password.
Definition OpResult.h:69
@ OR_TooManyActions
The rule contains more actions than the encoder can support.
Definition OpResult.h:85
@ OR_TMSRequestFailed
Request to list/download TMS files failed.
Definition OpResult.h:88
@ OR_CantOpenStream
The stream cannot be opened.
Definition OpResult.h:36
@ OR_WebLoginRequired
The user must log on via the web portal to proceed.
Definition OpResult.h:114
@ OR_CryptoVerifyFailed
The verification of the encryption key failed.
Definition OpResult.h:59
@ OR_InvalidEncoder
The encoder is invalid.
Definition OpResult.h:38
@ OR_MFACodeReuse
The one time passcode provided has already been used.
Definition OpResult.h:103
@ OR_InvalidService
The service is not valid.
Definition OpResult.h:60
@ OR_AccountLocked
The user account has been locked.
Definition OpResult.h:74
@ OR_RestNotFound
The REST API request has failed with a not found error.
Definition OpResult.h:99
@ OR_InvalidEncoderAddress
The address of the encoder is not valid.
Definition OpResult.h:56
@ OR_ServiceInUse
The service is in use.
Definition OpResult.h:47
@ OR_InvalidCameraInput
The camera input is invalid.
Definition OpResult.h:46
@ OR_InvalidPortName
The name of the port is not valid.
Definition OpResult.h:54
@ OR_SSOOpenIdNotSupported
SSO OpenId is not supported on this platform.
Definition OpResult.h:112
@ OR_MFAEmergencyCodeReuse
The emergency one time passcode has previously been used, emergency codes can only be used once.
Definition OpResult.h:106
@ OR_ServiceBusy
The service is busy.
Definition OpResult.h:48
@ OR_Deprecated
Feature is deprecated.
Definition OpResult.h:77
@ OR_RestForbidden
The REST API request was for a forbidden URL.
Definition OpResult.h:97
@ OR_MFAInvalidEmergencyCode
The emergency one time passcode entered is invalid.
Definition OpResult.h:105
@ OR_SSOOpenIdNotEnabled
This user does not have SSO OpenId login enabled.
Definition OpResult.h:111
@ OR_EncoderNotSupported
The encoder is not supported.
Definition OpResult.h:34
@ OR_CorruptFile
The file is corrupt.
Definition OpResult.h:65
@ OR_MFAInvalidCode
The one time passcode the user provided is invalid.
Definition OpResult.h:102
@ OR_ConnectionFailed
The connection failed.
Definition OpResult.h:30
@ OR_CantOpenSerialStream
The serial stream can not be opened.
Definition OpResult.h:57
@ OR_EnhanceAreaBadSize
The full resolution area size is not within the current frame.
Definition OpResult.h:50
@ OR_RestUnauthorized
A REST API request has been rejected as the user in not authorized.
Definition OpResult.h:96
@ OR_ServerCommsFailure
The communication with the server failed.
Definition OpResult.h:35
@ OR_Cancelled
The requested operation was cancelled.
Definition OpResult.h:86
@ OR_IncompatibleVersion
The server is not compatible with this Decoder SDK version.
Definition OpResult.h:82
@ OR_IDConflict
The ID of the alarm rule is in conflict.
Definition OpResult.h:61
@ OR_MFAEnrolmentRequired
The user is required by the server to setup two factor authentication on their device.
Definition OpResult.h:100
@ OR_InvalidParams
The parameters are not valid.
Definition OpResult.h:55
@ OR_LicenseError
Feature not licensed.
Definition OpResult.h:76
@ OR_AuthFailed
Authorisation failed.
Definition OpResult.h:29
@ OR_Success
The operation completed successfully.
Definition OpResult.h:27
@ OR_InvalidEnhanceQuality
The full resolution quality is not valid.
Definition OpResult.h:52
@ OR_QueryTimeout
The query timed out.
Definition OpResult.h:31
@ OR_MFAEmergencyCodesExhausted
The account has no emergency one time passcodes remaining.
Definition OpResult.h:104
@ OR_InvalidTransport
The transport type is invalid.
Definition OpResult.h:41
@ OR_PermissionDenied
Permission has been denied for this account.
Definition OpResult.h:44
@ OR_AlreadyDownloading
The GOP download service is already downloading.
Definition OpResult.h:79
@ OR_TooManyRequests
The GOP download service cannot accept another GOP request.
Definition OpResult.h:78
@ OR_LicenseDisabled
The users license has been disabled.
Definition OpResult.h:68
@ OR_DiskFull
The Disk is full.
Definition OpResult.h:63
@ OR_EncoderDisconnected
The encoder has disconnected.
Definition OpResult.h:39
@ OR_ServerIDMismatch
The server that has been contacted has a different UUID or encryption ID from the one expected.
Definition OpResult.h:109
@ OR_RestInvalidResponse
A REST API requrest has returned an invalid response.
Definition OpResult.h:94
@ OR_NotConnected
The asset is not connected.
Definition OpResult.h:37
@ OR_InvalidFilePath
The file path is invalid.
Definition OpResult.h:58
@ OR_NotificationNotfound
The notification has not been found.
Definition OpResult.h:75
@ OR_ArchivePlaybackDisabled
The archive playback is currently disabled.
Definition OpResult.h:70
@ OR_FileAlreadyExported
The file has already been exported.
Definition OpResult.h:83
@ OR_BadRequest
The request was malformed and was rejected by the server.
Definition OpResult.h:107
@ OR_Failed
The operation failed.
Definition OpResult.h:28
@ OR_DNSFailure
A DNS failure has occurred.
Definition OpResult.h:115
The EdgeVis Decoder SDK namespace.