I have two different pieces of content, both Dash with PlayReady where both the video and audio are encrypted. Using the Amazon fork of ExoPlayer, one of these plays correctly on a 1st generation FireTV, the other one results in the following error:
android.media.MediaCodec$CodecException: Error 0x8004dffd
getDiagnosticInfo() returns android.media.MediaCodec.error_neg_2147164163
I've narrowed the issue down specifically to the audio track, and I'm aware the documentation states that PlayReady audio is unsupported. However, the documentation states "If you need to play content with both encrypted audio and video, please contact us for further information", and given I have one example of PlayReady audio working, I'm asserting there's some difference between the two pieces of media and there is a way to make this work.
Unfortunately I've been unable so far to figure out what that difference is. Does anyone know what magic is required to get PlayReady audio working on a 1st generation device? Or alternatively how can I establish what those error codes mean? (appears to come from native code within omx and I can find no public mapping of error codes to meanings).