We are newbies at Milestone systems and we are integrating our web GIS application with Milestone Xprotect VMS. We receive an alert notification detected by an AI Appliance that examines the video streaming and sends it both to the VMS and to our system (with the localId of the event, assigned by VMS).
In the use case we are implementing, a GIS user sees the alert on the map and from this he/she wants to quickly control what generated the alert. So, the web app should talk with the Milestone server fetching a short clip of the video, centered in the exact timestamp of the event.
We understood that with REST APIs we can only access metadata information, but no videos. To get these we must use the MIP SDK, isn’t it? But how can we get this clip starting from the information obtained from the Event? Is there already a video clip cut from the entire video associated to the event or should we ask for an extraction with start time and end time? Could you show me a coding example?