Dash + DRM live/vod stream fails to load on some devices : MediaCodecVideoRenderer error
See original GitHub issue[REQUIRED] Searched documentation and issues
Random media coded playback error
[REQUIRED] Question
I have few DRM live streams. On some devices it works, on other it started giving following error(everything was fine before until 2-3 days ago). Not sure what it means. It is only appearing on physical devices, emulators are just fine.
Is it something to do with streams? Can you help me figure out this issue?
Devices : Pixel 3a with OS 11, Samsung galaxy s20 OS 10, Samsung galaxy s20+ OS 10
A full bug report captured from the device
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): Playback error
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(video=2499968, null, null, video/avc, avc1.4D401F, 2499968, null, [1280, 720, 29.97003], [-1, -1]), format_supported=YES
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:542)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at android.os.Handler.dispatchMessage(Handler.java:103)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at android.os.Looper.loop(Looper.java:237)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at android.os.HandlerThread.run(HandlerThread.java:67)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): Caused by: android.media.MediaCodec$CryptoException: Operation not supported in this configuration
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at android.media.MediaCodec.native_queueSecureInputBuffer(Native Method)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at android.media.MediaCodec.queueSecureInputBuffer(MediaCodec.java:2699)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.queueSecureInputBuffer(SynchronousMediaCodecAdapter.java:75)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.feedInputBuffer(MediaCodecRenderer.java:1394)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:842)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:892)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:467)
10-02 20:36:22.252 E/ExoPlayerImplInternal(26984): ... 3 more
Link to test content
Not needed at the moment
Issue Analytics
- State:
- Created 3 years ago
- Comments:40 (1 by maintainers)
Top Results From Across the Web
Dash playback with DRM fails after 1.18.55065 firmware ...
Error occurs on 1.18.55065 firmware. Latest Media Player Library and Cast SDK are used. Please provide any additional information below. Streams without drm...
Read more >Can't play video H.264 on Android with Android Exoplayer ...
The error code when video load error
Read more >Error by requesting DRM Keys - Amazon Developer Forums
I can't figure out where or what the problem is. ... MediaDrm$MediaDrmStateException: Failed to get key request: DRM vendor-defined error: - ...
Read more >Fixing 'Error in Loading Media: File Could Not Be Played'
Here are some easy solutions you can try to fix 'Error in Loading Media: File Could Not Be Played' on your Windows, Mac,...
Read more >Release notes version 1.9.* — Unified Streaming
When upgrading to this version, a cache flush of DASH manifests may be required due to ... Improved error message when a request...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Samsung is having some problems reproducing this issue. I just sent them additional instructions and logs yesterday. Will see if that helps.
Thank you. That is very helpful. Samsung is taking a look.