General configurations structure.
struct{ BYTE byExceptionCbDirectly; BYTE byNotSplitRecordFile; BYTE byResumeUpgradeEnable; BYTE byAlarmJsonPictureSeparate; BYTE byRes[4]; UINT64 i64FileSize; DWORD dwResumeUpgradeTimeout; BYTE byAlarmReconnectMode; BYTE byStdXmlBufferSize; BYTE byMultiplexing; BYTE byFastUpgrade; BYTE byRes[232]; }NET_DVR_LOCAL_GENERAL_CFG, *LPNET_DVR_LOCAL_GENERAL_CFG;
Exception callback type: 0-callback via thread pool, 1-callback via upper-layer.
Whether to subpackage the local video files: 0-yes (default), 1-no.
Whether to enable upgrading ANR (Automatic Network Replenishment): 0-disable (default), 1-enable.
Whether to separate the alarm data and the alarm picture which will be transmitted in JSON format: 0-not separate, 1-separate (the lCommand in the callback function will be "COMM_ISAPI_ALARM").
Reserved.
Maximum file size, unit: byte. When subpackaging is enabled, if the saved video file size is larger than the value of this parameter, the file will be subpackaged to multiple file segments for storage.
ANR reconnection timeout, unit: millisecond.
Reconnection mode: 0-dependent thread reconnection (default), 1-thread pool reconnection.
Buffer size for receiving data transmitted by ISAPI: 1-1 MB, other values-default.
Whether to enable multiplexing of normal link (non-TLS link): 0-disable, 1-enable.
Upgrading mode: 1-normal upgrading, 2-fast upgrading.
Reserved.