NET_DVR_JSON_DATA_CFG

Structure about picture data in JSON format.

Structure Definition

struct{
  DWORD   dwSize;
  void    *lpJsonData;
  DWORD   dwJsonDataSize;
  void    *lpPicData;
  DWORD   dwPicDataSize;
  DWORD   dwInfraredFacePicSize;
  char    *lpInfraredFacePicBuffer;
  BYTE    byRes[248];
}NET_DVR_JSON_DATA_CFG,*LPNET_DVR_JSON_DATA_CFG;

Members

dwSize

Structure size.

lpJsonData

Returned message in JSON format.

dwJsonDataSize

Size of the message in JSON format.

lpPicData

Picture data. If the returned message is the response status message, this member is invalid; if the returned message in JSON format does not contain faceURL, this member should contain picture data in binary format.

dwPicDataSize

Picture data size, the maximum size is 200 KB.

dwInfraredFacePicSize

Data size of the infrared face picture. When this member is 0, it indicates that there is no face picture data. When the response message is JSON_ResponseStatus, this member is meaningless. When the request message in JSON format does not contain the value of infraredFaceURL, this member should contain the binary picture.

lpInfraredFacePicBuffer

Buffer of infrared face picture data.

byRes

Reserved.