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 be
Programatically this will help you and the file extension may mp3/mp4 for audio; both will support on media players. Android snippet:
myRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
myRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
myRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
iOS snippet
AVFormatIDKey: @(kAudioFormatMPEG4AAC)