开发者

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
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜