Sorry if I am asking too generic question.
We are in the process of developing an application which records and plays audio on mobile devices. This application is being developed for both Android and iOS. The application will record audio using device mic and store it in the server.
User (on Android and iOS) can open the application and play the sound which is stored on the server. The sound format we are using is AAC. In iOS its working fine. We can record and play the AAC files.
But on Android (Samsung S3 and Samsung Galaxy Y) we cannot record sound in AAC format. But in S3 we can play the AAC file.
My question is, which format we should select for recording and playing in Android (should support from 2.3 to Jellybean) and iOS. Should we use MP4?
One solution we have is, on the backend side we can convert the audio file to AAC, MP4 or 3GP and give the supported files to mobiles based on the versions.
See Question&Answers more detail:os