Is it possible to retrieve record files paths needed for camera playback?

Hello,

I was wondering is it possible to obtain record files paths using MIP SDK. In my plugin user will choose a camera and time period for playback, but I need physical files on the file system to perform some additional logic with them.

Thanks in advance,

Nikolay.

The intention behind the MIP SDK is that you always ask the server for the video and if you ever need offline files you will create the offline files by doing an export.

Hello, Rie.

The problem is that the plug-in I am developing needs to know which files exactly are needed for playback (or at least the directories where these files are stored). The only solution I was found at this point is to traverse ‘recording’ (or ‘archive’) directories and to find manually them by the time period selected by the user and the camera name. I expect to be able to ask MIP SDK for these files (records) location, which will be a much more elegant solution.

Best regards,

Nikolay.

We have cold/warm storage technology partners who have integrations where they prefetch recordings from tape to cache it on disk so that it’s available for playback.

The way they do this is to use the device ID, and a time range, and they pull the relevant folders from the media database off tape. The folders are in the format “GUID_ARCHIVE_TIMESTAMP” so it’s relatively easy to access the right data given the camera ID and time.

Hi, Joshua.

I know this is an option but still prefered to obtain this information from VMS server. Just imagine one day the format of the recording/archive folders changes - my plugin will stop working, am I wrong. Anyway, I have already focused on this solution and you confirmed it is right. Thanks for the fast replay.

Best regards,

Nikolay.