What is Phonegap’s Media.startRecord() recording format and sample rate? Is the format different per platform?
mediaRec = new Media("test.mp3", onSuccess, onError);
mediaRec.startRecord();
When I try to convert the file from MP3 to WAV with lame, it gives me an error.
Turns out that the encoding depends on the platform. So on android, the encoding is AMR.
Reference: http://developer.android.com/guide/appendix/media-formats.html