deleting recorded sequences

Hello,

I would like to know what would be the best way to remove recorded sequences.

I am able to record sequences using messages (StartRecordingCommand) and list them using SequenceDataSource, in the same way as the VideoViewer sample.

However, I cannot find any code sample / API documentation about removing sequences. Could you please point me in the right direction? Thanks!

Hi Andrei,

The tl;dr is that there is no functionality in the software or SDK to enable deleting video of any kind.​ Once recordings are made, they should only be deleted when their retention is reached, or when an evidence lock covering that period is removed.

The only way to accomplish this via MIP SDK would be to have a very low retention, and use evidence locks ​to accomplish the necessary retention. Where a period of video needs to be removed, you could create two evidence locks to cover the period before and after the period to be deleted, then delete the original evidence lock.

This isn’t an ideal way to solve the challenge though, and has additional complications. Typically video is stored in blocks of 1 hour per camera. If an evidence lock touches any amount of video in a block, that entire block will be preserved. So if you wanted to remove a 10 minute segment of video using this strategy, but evidence locks preserve any other timespan in the block where that 10 minutes resides, it will still be implicitly protected as a result of the adjacent evidence locks.

This is part of the media database implementation and there is no way via MIP SDK to identify which “block” a timespan for a given camera resides in, or what it’s boundaries are.​