Disk Space clean up arising from initial miscalculation
If the calculation of disk space was underestimated in evaluateAvailableSpace, then the disk can fill up resulting in the event MPE_DVR_EVT_OUT_OF_SPACE coming from the platform. This marks the recording as failed and does not attempt to free disk space.
Is there anything in principal wrong with setting up a MediaStorageVolume::addFreeSpaceListener(1%) in the RecordingManager which can react to this situation by freeing up space before it is too late and actually runs out of space? I am looking at a Stack fix for this issue and this seems logical at the moment.