I wrote a simple recording program. I set the output format to THREE_GP, but the resulting mime file type is set to video (when I try to view the file data).
Any idea why?
mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); mRecorder.setOutputFile(recordingFilePath);
source share