开发者

Titanium Continue Recording after playing the recorded file

开发者 https://www.devze.com 2023-03-12 18:14 出处:网络
I have following code. recording.start(); file = recording.stop(); sound = Titanium.Media.createSound({sound: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
});
0

精彩评论

暂无评论...
验证码 换一张
取 消