Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
None
-
None
-
None
-
Android
-
Important
Description
The problem seems to be that somehow the encoder and decoder are set to different encoding types and are not compatible. Additionally its assuming an encoder is available on the platform and since the interface to the this object does not allow a way to specifying encoding I feel like the default may have been more appropriate.
Currently the code is as follows
this.recorder.setOutputFormat(MediaRecorder.OutputFormat.AAC_ADTS); // RAW_AMR); this.recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); //AMR_NB);
But trying to play back the recorded audio fails with a decoder error
Attachments
Issue Links
- links to