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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -