NET_DVR_LOCAL_GENERAL_CFG

General configurations structure.

Structure Definition

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;

Members

byExceptionCbDirectly

Exception callback type: 0-callback via thread pool, 1-callback via upper-layer.

byNotSplitRecordFile

Whether to subpackage the local video files: 0-yes (default), 1-no.

byResumeUpgradeEnable

Whether to enable upgrading ANR (Automatic Network Replenishment): 0-disable (default), 1-enable.

byAlarmJsonPictureSeparate

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").

byRes

Reserved.

i64FileSize

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.

dwResumeUpgradeTimeout

ANR reconnection timeout, unit: millisecond.

byAlarmReconnectMode

Reconnection mode: 0-dependent thread reconnection (default), 1-thread pool reconnection.

byStdXmlBufferSize

Buffer size for receiving data transmitted by ISAPI: 1-1 MB, other values-default.

byMultiplexing

Whether to enable multiplexing of normal link (non-TLS link): 0-disable, 1-enable.

byFastUpgrade

Upgrading mode: 1-normal upgrading, 2-fast upgrading.

byRes1

Reserved.