Note: This function requires an API license.
Normally the system will delete the oldest video and metadata to make place for new video. When deleted this video is lost. To prevent this in case something happens the video (and metadata) can be tagged so it will not be deleted.
The actions server.tagVideoStart and server.tagVideoStop respectively starts and stop tagging video. Once the video is tagged it will not be deleted. The user should use the system to untag the video’s manually. Untagged video will then be deleted normally. These actions can be send to the system with the executeAction command
Stop tagging video
Stops tagging video. The untagged video and metadata will be normally deleted (oldest images first during the cyclical deleting scheme). The previously tagged data will remain tagged and will not be deleted by the system. The user is responsible to untag the data on the system.
Command url:
http://<server>/command?command=executeAction |
Post data:
<!--?xml version="1.0"?--> <action> <name>server.tagVideoStop</name> <parameters> <parameter name="serverid">8712348723918719871</parameter> <parameter name="deviceid">3</parameter> </parameters> </action> |
or
http://<server>/command?command=executeaction&actionname=server.tagVideoStop&serverid=8712348723918719871&deviceid=3 |
Result:
<result errorcode="0"> <description>Ok</description> </result> |