For some remarkable views, you can record the video segments and save the captured pictures or videos to the configured storage.
Function |
Description |
---|---|
Get Parameters for Capturing Alarm Pictures |
Call NET_DVR_GetDVRConfig with "NET_DVR_GET_ALARM_CAPTRUE_CFG" (command No.: 2074) and set lChannel to the channel No. The parameters are returned in the structure NET_DVR_ALARM_CAPTRUE_CFG by lpOutBuffer. |
Set Parameters for Capturing Alarm Pictures |
Call NET_DVR_SetDVRConfig with "NET_DVR_SET_ ALARM_CAPTRUE_CFG" (command No.: 2075), set lChannel to the channel No., and set lpInBuffer to the structure NET_DVR_ALARM_CAPTRUE_CFG. |
The pre-recorded and post-recorded time of recording based on event can be configured if the camera is added to the security control panel by calling API to transmit the request URIs with messages.
Function |
Description |
---|---|
Get Capability of Recording Based on Event Configuration |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/eventRecord/channels/<ID>/capabilities?format=json. And the capability is returned in the message of JSON_EventRecordCap. |
Get Parameters of Recording Based on Event |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/eventRecord/channels/<ID>?format=json. And the configuration parameters are returned in the message of JSON_EventRecord. |
Set Parameters of Recording Based on Event |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/Configuration/eventRecord/channels/<ID>?format=json and set the input buffer (lpInBuffer) of the input parameter (lpInputParam) to the message JSON_EventRecord. |