I am creating one application which play recorded file on Android to iphone and vice-versa.
now I am using ,
audioRecorder = new MediaRecorde
This link is very useful: Android supported media formats
This section gives us more information about audio and video formats.