Make sure you have called NET_DVR_Init to initialize the development resources.
Make sure you have called NET_DVR_Login_V40 to log in to device.
Figure 1 Programming Flow of Managing RingThe video intercom capability is returned in the message XML_VideoIntercomCap by lpOutputParam.
If supports, the node <isSupportRingManage> is returned and its value is "true", and then you can perform the following steps.
Otherwise, ring management is not supported by device, please end this task.
The ring capability is returned in the message XML_Cap_RingParam by lpOutputParam.
| Option | Description |
|---|---|
|
Ring Search |
|
|
Delete Ring by Ring ID |
Call NET_DVR_STDXMLConfig to pass through the request URL: DELETE /ISAPI/VideoIntercom/ring/ringID/<ID>. |
|
Delete All Rings |
Call NET_DVR_STDXMLConfig to pass through the request URL: DELETE /ISAPI/VideoIntercom/ring. |
|
Upload Ring File |
|
Call NET_DVR_Logout and NET_DVR_Cleanup to log out of the device and release the development resources.