Titanium Continue Recording after playing the recorded file
I have following code.
recording.start();
file = recording.stop();
sound = Titanium.Media.createSound({sound:file});
sound.play();
After the completion of Play back can I continue Recording? How we can implement this?
Is there any way to play the recording 开发者_开发技巧file when recording is Paused?
You can try a complete
event listener that starts recording again?
sound.addEventListener('complete', function(e) {
// start new recording code here
});
精彩评论