I am not able to find the recorded video which is recorded by "cordova-plugin-screenrecord" plugin. I am getting the alerts of screenRecord started and screenRecord stopped successfully.

I have explored the file manager but nowhere I found the recorded video. the code I used is :

ScreenRecord.startRecord(
    {isAudio: true}, 
    cordova.file.externalDataDirectory + "test.mp4", 
    (success)=> {
            alert(success);
    }, (error)=>{
            alert(error);
    }
);

This is the code for stopping the recording:

ScreenRecord.stopRecord(
    (success)=>{
        alert(success);
    }, 
    (error)=>{
        alert(error);
    }
);

After the recording, the Test.mp4 file must be there in the directory file:///storage/emulated/0/Android/data//files/

But I am not able to find the file in the same directory.

Thanks in advance.

0 Answers