Cordova record audio while playing audio - iOS -


i'm working on cordova app user can record his/her voice background audio. working in android, in ios don't. don't know if has resources or something.

i've tried htmlaudioelement , cordova-plugin-nativeaudio, plays audio while i'm not recording. turn recorder on, won't play audio.

i'm using cordoba-plugin-media recording.

here example:

var audio = new audio("audio/click.wav");  button.addeventlistener("touchstart", function(){    var record = new media(src, onsuccess, onerror);    record.startrecord();     audio.play(); }, false); 

i know playing audio onclick don't work, thats why i'm using touchstart


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -