while using MediaRecorder, the document said:
Set output file format using MediaRecorder.setOutputFormat().
Set the audio encoder using MediaRecorder.setAudioEncoder().
my question: is there any constraint or relation between these two APIs?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This sheds some light on the topic:
http://developer.android.com/guide/appendix/media-formats.html
It’s quite unfortunate that this information isn’t linked in the mediarecorder API docs.
If you try to encode with AAC+ the native code just silently crashes.