If you're not using adaptive playback, you might have to stop(), release() and clean your references from getInputBuffers() and getOutputBuffers()
This exception happens during prepare() called from a thread in prepareAsync().implement this method yourself (call prepare() from your own thread), and catch the CodecException.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.
- android.media.MediaCodec$CodecException: Error 0xfffffc0e at android.media.MediaCodec.native_configure(Native Method) at android.media.MediaCodec.configure(MediaCodec.java:588)