SDK Export of Edge Storage Video Not Working

We have an application which exports recorded video from Milestone using the DBExporter class. However, when we try to export footage that was retrieved from Edge Storage the resulting export completes without any errors but does not contain any video.

We are using the basic code from the ExportSample SDK example (just an example below:)

var cam = GetCamera(id);
var exporter = new DBExporter(true)
{
    Encryption = false,
    SignExport = false,
    PreventReExport = false,
    IncludeBookmarks = false,
};
 
exporter.Init();
exporter.CameraList.Add(cam);
exporter.Path = outputPath;
exporter.StartExport(dtStart, dtEnd);

This is a key feature for our product to export footage whether it was recorded by Milestone or retrieved from Edge Storage.

Is this a known issue and is there a work-around / solution that we can use?

Milestone was recently made aware of this issue, it was not an issue for all user’s, but it was consistent that the MIP SDK failed where the Smart Client succeeded in exporting all the footage including edge retrieved footage. Milestone Development have updated the MIP SDK exporter in aligning the methods used, basically the MIP SDK now uses the same code for exporting as the Smart Client does.

Please find the MIP SDK 2021 R1 hot-fixed version here:

https://developer.milestonesys.com/s/article/XProtect-2021-R1-cumulative-patch-installers