Integrating BriefCam "Person on Ground" Events with XProtect for Automated Video Retention (Example Included)Based on BriefCam

We are investigating the possibility of using BriefCam’s event triggers, specifically “person on the ground,” to automatically mark or retain corresponding video segments within XProtect.

Example: If a BriefCam alert for “person on the ground” is sent to XProtect at 10:00 AM, we need to capture and retain the video segment from 9:55 AM to 10:05 AM.

We need to determine if video retention can be programmatically controlled via an XProtect integration. Additionally, we would appreciate guidance on the optimal approach for achieving this functionality, considering both direct XProtect integration and potential independent solutions.

The video retention is in general setup on the storage areas the recording servers use. https://doc.milestonesys.com/2025R1/en-US/standard_features/sf_mc/sf_ui/mc_recordingservers_servers.htm?cshid=9646#MC_StorageTabRecordingSe.htm

If you then need to secure that recorded video is not deleted even if it passes the configured retention you use what in Milestone terms are called Evidence lock.

https://doc.milestonesys.com/2025R1/en-US/standard_features/sf_mc/sf_mcnodes/sf_7systemdashboard/mc_evidencelockexplai.htm?Highlight=evidence%20lock

Evidence locks can be created and handled via code in multiple ways.

Using MIP SDK and Soap service please see the sample: https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/evidencelock/readme.html&tree=tree_2.html

Using REST API

https://doc.developer.milestonesys.com/mipvmsapi/api/evidencelocks-rest/v1/#section/Introduction

Thanks!