Member |
Data Type |
Description |
---|---|---|
pAlarmData |
char* |
Alarm information based on text protocol (XML or JSON message without binary data). |
dwAlarmDataLen |
DWORD |
Alarm data length. |
byDataType |
BYTE |
Alarm data type: 0-invalid, 1-XML, 2-JSON. |
byPicturesNumber |
BYTE |
The number of pictures (number of pPicPackData returned). When this member is 1, only one structure of NET_DVR_ALARM_ISAPI_PICDATA will be returned by pPicPackData. When this member is larger than 1, multiple structures of NET_DVR_ALARM_ISAPI_PICDATA will be returned by pPicPackData. |
byRes |
Array of BYTE |
Reserved, set to 0. The maximum size is 2 bytes. |
pPicPackData |
void* |
Alarm picture structure, see NET_DVR_ALARM_ISAPI_PICDATA for details. |
byRes |
Array of BYTE |
Reserved. The maximum size is 32 bytes. |
When enabling the listening mode, you should call the network configuration API based on text protocol to set the IP address for the listening service.