Recording files not getting deleted in default M.S.V !!
When we initiate the delete operation on recordingRequest . It initiates a call to mpeos layer's mpeos_dvrRecordingDelete() . In this method there is call to ri_delete_recording() which does nothing except logging. Later on in fileDelete is triggered from filesystem module. Which based on the OS(linux/windows) calls the respective api's unlink()/_wunlik() to remove the link from the recording file.
Seeing the comments from the methods it looks like we are going to delete the files from the filesysytem. Are we expecting the file to be deleted here ?
If yes : When we call MediaStorageVolumeImpl.delete(): Why is that we are explicitly deleting the files by calling LSV.deleteFiles(), which calls file.delete()?
Observation/Issue : While the recording files are getting deleted in the second case (MSV delete), the recording files remain undeleted from the file system in the first case (recordingReq.delete()).
Is it the expected behaviour ?