{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/774","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/774/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/774/events","html_url":"https://github.com/google/ExoPlayer/issues/774","id":105451503,"number":774,"title":"Exoplayer fails to play certain AAC-ADTS .m3u8 files","user":{"login":"spark85","id":1414403,"avatar_url":"https://avatars.githubusercontent.com/u/1414403?v=3","gravatar_id":"","url":"https://api.github.com/users/spark85","html_url":"https://github.com/spark85","followers_url":"https://api.github.com/users/spark85/followers","following_url":"https://api.github.com/users/spark85/following{/other_user}","gists_url":"https://api.github.com/users/spark85/gists{/gist_id}","starred_url":"https://api.github.com/users/spark85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark85/subscriptions","organizations_url":"https://api.github.com/users/spark85/orgs","repos_url":"https://api.github.com/users/spark85/repos","events_url":"https://api.github.com/users/spark85/events{/privacy}","received_events_url":"https://api.github.com/users/spark85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-08T19:17:46Z","updated_at":"2015-09-09T15:41:05Z","closed_at":null,"body":"The sample looks exactly like other samples created from the same app, all are being classified with an mp4a-latm MIME type, with an AAC-ATDS stream.  \r\n\r\nHere is the the full MediaFormat:  MediaFormat(audio/mp4a-latm, -1, -1, -1, -1.0, 1, 22050, -1, -1, -1) \r\n\r\nThe DecoderInfo object shows it is using the OMX.google.aac.decoder codec.\r\n\r\nThis audio file was created within our app; using the default framework MediaRecorder.  We set the sample rate to 22050 instead of 44100 to match the iOS build. \r\n\r\nIs there more information that you might find useful?  I thought it could be possible that there is a discontinuity in the sample; or the an error in the manifest header.  How should I go about looking for these issues? \r\n\r\nI've posted everything from the error message that I believe might be relevant. \r\n\r\n<09-08 15:07:14.189  27057-27057/com.google.android.exoplayer.demo I/ExoPlayerImpl﹕ Init 1.4.2\r\n09-08 15:07:14.201  27057-27057/com.google.android.exoplayer.demo D/EventLogger﹕ start [0]\r\n09-08 15:07:14.201  27057-27057/com.google.android.exoplayer.demo D/EventLogger﹕ state [0.00, false, P]\r\n09-08 15:07:14.203  27057-27057/com.google.android.exoplayer.demo D/EventLogger﹕ state [0.00, true, P]\r\n09-08 15:07:14.443  27057-27082/com.google.android.exoplayer.demo D/OpenGLRenderer﹕ endAllStagingAnimators on 0xb49a0300 (ListView) with handle 0xaec2cf40\r\n09-08 15:07:14.544  27057-27057/com.google.android.exoplayer.demo D/EventLogger﹕ state [0.34, true, B]\r\n09-08 15:07:14.544  27057-27057/com.google.android.exoplayer.demo D/EventLogger﹕ videoFormat [0.34, 0, 0]\r\n09-08 15:07:14.552  27057-28353/com.google.android.exoplayer.demo I/OMXClient﹕ Using client-side OMX mux.\r\n09-08 15:07:14.559  27057-28353/com.google.android.exoplayer.demo E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.\r\n09-08 15:07:14.579  27057-28354/com.google.android.exoplayer.demo W/SoftAAC2﹕ aacDecoder_ConfigRaw decoderErr = 0x2003\r\n09-08 15:07:14.579  27057-28353/com.google.android.exoplayer.demo E/ACodec﹕ [OMX.google.aac.decoder] ERROR(0x80001001)\r\n09-08 15:07:14.579  27057-28353/com.google.android.exoplayer.demo E/ACodec﹕ signalError(omxError 0x80001001, internalError -2147483648)\r\n09-08 15:07:14.579  27057-28353/com.google.android.exoplayer.demo E/MediaCodec﹕ Codec reported err 0x80001001, actionCode 0, while in state 6\r\n09-08 15:07:14.585  27057-28343/com.google.android.exoplayer.demo E/ExoPlayerImplInternal﹕ Internal runtime error.\r\n    java.lang.IllegalStateException\r\n            at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)\r\n            at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.drainOutputBuffer(MediaCodecTrackRenderer.java:832)' ....\r\n\r\n....\r\n\r\nFurther down in the log \r\n\r\n Caused by: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.google.aac.decoder, MediaFormat(audio/mp4a-latm, -1, -1, -1, -1.0, 1, 22050, -1, -1, -1)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:374)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:739)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:511)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:492)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:417)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:205)\r\n\r\nThank you, \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/138950662","html_url":"https://github.com/google/ExoPlayer/issues/774#issuecomment-138950662","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/774","id":138950662,"user":{"login":"spark85","id":1414403,"avatar_url":"https://avatars.githubusercontent.com/u/1414403?v=3","gravatar_id":"","url":"https://api.github.com/users/spark85","html_url":"https://github.com/spark85","followers_url":"https://api.github.com/users/spark85/followers","following_url":"https://api.github.com/users/spark85/following{/other_user}","gists_url":"https://api.github.com/users/spark85/gists{/gist_id}","starred_url":"https://api.github.com/users/spark85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark85/subscriptions","organizations_url":"https://api.github.com/users/spark85/orgs","repos_url":"https://api.github.com/users/spark85/repos","events_url":"https://api.github.com/users/spark85/events{/privacy}","received_events_url":"https://api.github.com/users/spark85/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T15:41:05Z","updated_at":"2015-09-09T15:41:05Z","body":"Thanks, \r\n\r\nI'll take a look into it. "}}