API Status Code
{
retSendWaiting = 31, // Reserved
retLivingAuthErr = 30, // Live stream status: authentication error
retLivingNotset = 29, // Live stream address not set
retLivingDNS = 28, // Live stream status: Resolving DNS
retInit = 27, // Initialization
retLivingAuthing = 25, // Live stream status: authorizing
retLivingWaiting = 24, // Live stream status: waiting for connection
retLivingConnecting = 23, // Live stream status: connecting to the streaming destination
retLivingConnected = 22, // Live stream status: stream server connected
retPushReboot = 21,
retAudioSignalChange = 20,
retBlueWrite = 19,
retBlueRead = 18,
retBlueShutDown = 17,
retDiskOn = 16,
retDiskOff = 15,
retDiskChange = 14,
retSnapshotOver = 13,
retPushReset = 12,
retPushLiving = 11,
retPushRecord = 10,
retSignalChange = 9,
retRouteChange = 8,
retIPChange = 7,
retNetChange = 6,
retCancel = 5, // Request canceled
retLowSpace = 4, // Reserved
retLowSpeed = 3, // Reserved
retRunning = 2, // Request is being processed
retRepeat = 1, // Repeated request
retSucceed = 0, // Request success
errPasswd = -1, // Wrong password
errOccupied = -2, // Device occupied
errDisconnect = -3, // Reserved
errDevice = -4,
errDisk = -5,
errUnconnect = -6,
errKey = -7,
errVersion = -8,
errBusy = -9, // System busy
errParam = -10, // Incorrect request parameters
errUsage = -11, // Reserved
errTimeout = -12,
errIP = -13, // Reserved
errNotFound = -14, // Data not found
errFile = -15, // File error
errNoSpace = -16, // Reserved
errNeedAuth = -17, // Unauthorized log-in
errSystem = -18, // System error
errDiskSpeed = -19,
errEmpty = -20,
errNetwork = -21,
errEvent = -22,
errCodec = -23,
errBlue = -24,
errNoUser = -25, // User not exist
errNoPermissin = -26,
errSameName = -27, // Name already in use
errString = -28, // Invalid input characters
errChannelsLimited = -29, // Streaming 6 sessions simultaneously at most.
err8MLimited = -30, // Reserved
errFacebookLimited = -31, // Reserved
errCodecLimited = -32, // Reserved
err4GLimited = -33, // Reserved
errMWFUnsupported = -34, // Update package does not match current model or hardware version
errNoSignal = -35, // No signal
errSDCard = -36,
errXinYueServer = -37, // Reserved
errAliYunOSS = -38, // Reserved
errSDNoSpace = -39, // Reserved
errSDNoPermission = -40, // Reserved
errRTSPLimited = -41, // Only one RTSP session is supported at a time
errRTSP8MLimited = -42, // Reserved
errBandwidthLimited = -43, // Reserved
errPortLimited = -44, // Stream port occupied
errNDILimited = -45, // Only one NDI|HX session is supported at a time
errSRTLimited = -46, // Only one SRT Listener session is supported at a time
errNDISettings = -47, // The substream can be up to 640x480@60 for a NDI|HX session
errSubStreamSettings = -48, // The substream can be up to 1280x720@30 for a non-NDI|HX session
errHLSLimited = -49, // Only one HLS session is supported at a time
errProtocolLimited = -50, // Allow simultaneous sessions over the same streaming protocol
errInit = -51, // Failed to initialize channels for live streaming
errDeinterlaceSettings = -52, // Deinterlace settings error
errTVULimitted = -53, // Only one TVU ISSP task is supported to live
errProtocolOneChannel = -54, //
Unified error codes including errRTSPLimited/errNDILimited/errSRTLimited/errHLSLimited/errTVULimitted
}