I am using sound_record.js file from Appcelarator KitchenSink, But I am not getting how we can play the sound in Loud Speaker after Recording is Finishe开发者_如何学Cd.
I have used following code,
if (Titanium.Media.audioPlaying) {
Titanium.Media.audioSessionMode = Ti.Media.AUDIO_SESSION_MODE_AMBIENT;
}else{
Titanium.Media.audioSessionMode = Ti.Media.AUDIO_SESSION_MODE_PLAY_AND_RECORD;
}
But I am not able to play the recorded file in Loud Speaker.
精彩评论