I’m trying to run the simple recorder app given in the sample codes in my android phone but its not working. i dnt knw why? please help!
Are you using suitable extension for android??
Are you using suitable extension for android??
same problem i am getting ?? how can we solve this …i am using mp3 extension for android.
Hi @iqradar12 and @calvinwood311,
Android always records audio to 3GP format which our “audio” library APIs are unable to decode. You can only play 3GP files via the “media.playSound()” function.
We know that our “Media/SimpleAudioRecorder” bundled with public build #971 does not play back the recorded audio for the above reason. We considered changing it to use the “media” API, but that API has issues on iOS. So, this means you have to do an “if android” check when playing back recorded audio.
Also, please note that you should call “media.playSound()” instead of “media.playEventSound()” because the recorded audio will likely be too large to be loaded as an event sound and fail.
Best regards,
Brent
same problem i am getting ?? how can we solve this …i am using mp3 extension for android.
Hi @iqradar12 and @calvinwood311,
Android always records audio to 3GP format which our “audio” library APIs are unable to decode. You can only play 3GP files via the “media.playSound()” function.
We know that our “Media/SimpleAudioRecorder” bundled with public build #971 does not play back the recorded audio for the above reason. We considered changing it to use the “media” API, but that API has issues on iOS. So, this means you have to do an “if android” check when playing back recorded audio.
Also, please note that you should call “media.playSound()” instead of “media.playEventSound()” because the recorded audio will likely be too large to be loaded as an event sound and fail.
Best regards,
Brent