cordova record audio not work windows 10 mobile -
i work time media cordova plugin on android , ios mobile on record audio files. works well. on windows, while recording no error occurred, no file exists. when application goes background , return it, error code 2147483648 (i have not found information relevant problem code).
function recordaudio() { var src = "ms-appdata:///temp/sound.m4a";; var mediarec = new media(src, // success callback function() { console.log("recordaudio():audio success"); }, // error callback function(err) { console.log("recordaudio():audio error: "+ err.code); }); // record audio mediarec.startrecord();
}
i can not find solutions or similar problems. rest github not included problems.
in mediaproxy.js (plugins/cordova-plugin-media/mediaproxy.js) there constant:
var parameter_is_incorrect = -2147024809;
is error getting? if so, seems used in 1 place, if there no scheme path. take @ settemporaryfsbydefault()
in same file.
Comments
Post a Comment