BB FlashBack SDK: Base Classes

Recovering Corrupted Recordings

Recording files (FBR files) can be corrupted by unscheduled termination of the recorder process, so that they cannot be played back. Some corrupted recordings can be recovered if recovery data is created, and the FBRecorder class has a number of methods and properties to assist with the process.

Here is the process for checking and recovering an FBR that was being recorded when FBRecorder experienced an unscheduled termination:

  1. The FBRecorder::CreateRecoverInfo property must have been set to true before recording starts to create the recovery data.

  2. Use FBRecorder::IsMovieStructureOk to check whether the FBR file that was being recorded has been corrupted.

  3. If the file is corrupted, use the FBRecorder::CanMovieBeRecovered method to check that it can be recovered. This method returns the name of the recovery info file.

  4. Use FBRecorder::RecoverMovie to create a new FBR file, using the corrupted FBR and the recovery info file.