
It may be caused by invalid configuration of PlatformAddr. The information returned by the request cannot be resolved normally by json. OPEN_SDK_PUSH_MQTT_BAD_USERNAME_PASSWORD_ERRORĬonnection fails. OPEN_SDK_PUSH_MQTT_SERVER_UNAVAILABLE_ERRORĬonnection fails. Unsupported by the protocol version.Ĭonnection fails, the only ID is incorrect. The number of the received push messages reaches upper limit.Ĭonnection fails. Network disconnected or unstable network. Initialize by calling the API Init first. The camera and DVR/NVR may have connection problems. VtduThe client receiving response timed out. It is usually caused by network problems. Stream media sending or receiving signal timed out.Ĭheck the device network status. The device connection number reaches upper limit. It will report this error if users enabled terminal binding. The channel corresponds with a specific camera. The third-party userId and phone under APPKEY are unbound. Incorrect return information format of the request.Īccesstoken exception or accesstoken has been expired. It may be caused by the configuration problem ofPlatformAddr. Insufficient memory or the picture size is too large. No video file exists in the specified period.įailed to allocate memory of picture resources. Incoming value of SessionId error or the Session has been deleted. The current session doesn't exist or has been released. Check the address configuration of the platform. It may be caused by incorrect platform address.

Here it refers to failing to access the platform. The reason maybe that the DNS is not configured or the device is disconnected. Here it refers that the domain name of the platform fails to be resolved. Unable to resolve to specified remote host The following table shows the definition of the detailed error code value.

Usually caused by inadequate system resource, e.g., inadequate memory.

For details, refer to error code of server port It is usually caused by improper usage of SDK by the users.

This error is the same with network or configuration information error, so CURL ErrorCode is still available, for example, DNS is not configured. Return via information callback function, refer to header file of INS_ErrorCode.h for details.Įrror code format, x represents the module type of error code, bbbbb represent what the error is, the value of x is shown below: type Major and frequently-occurred error codes are shown below.Įrror code is defined in the header file of OpenNetStreamError.h. The error code of SDK is listed according to modules. The API only returns 0 and -1 by default (except some special API). Get the error codes via OpenSDK_GetLastErrorCode and get the error code information via OpenSDK_GetLastErrorDesc.
