monkeyDledger / cordova-plugin-screenrecord

using MediaCodec and MediaMuxer to record Android device's screen
2 stars 5 forks source link

Record screen, but don't save! #3

Open guilhermelirio opened 5 years ago

guilhermelirio commented 5 years ago

Hi. I'm testing the plugin, and it's working almost perfectly. I can not save the recorded screen to the app folder. My code:

ScreenRecord.startRecord({isAudio: true}, '/Android/data/app.screenrecorder.com/files/test.mp4', success, error);

function success(ok){
    $("#infos2").append('Inicio gravação: '+ok)
}
function error(error){
    $("#infos2").append('Inicio gravação: '+error)
}

Anything you can do?

monkeyDledger commented 5 years ago

Sry,I haven't used this plugin in years. Maybe the filePath should be an absolute path like /sdcard/Android/xx/test.mp4.

guilhermelirio commented 5 years ago

Thanks, i'll test. Not interested in updating it, no? Or do you know of an updated one?