Some Samsung devices crashes - CryptoException: Error decrypting data.
We are having issue with some samsung devices that crashes on live stream after few seconds. The stream is a dash + widevine. And the current version we are using is ExoPlayer 1.4.1 (commit 9e0ca9e). I added some logs and what type of devices we have been testet on. And sent you a separate mail with stream url. All test was performed with the ExoPlayer demo app (commit 9e0ca9e) - below you will see the modified code.
I think this is related to issue #614
If you are missing some information let me know, thanks.
DemoPlayer code modify
Samples.java:
new Sample("My Dash stream", "http://xxxx.mpd", PlayerActivity.TYPE_DASH),
WidevineTestMediaDrmCallback.java:
public WidevineTestMediaDrmCallback(String videoId) {
defaultUri = "http://OurWideVineServer.com/?ourKey";
}
PS! I sent you a mail (olly.exoplayer) with correct informations with stream URL and widevine URL.
Tested On:
- Google Nexus 6, Android 5.1.1 - Works.
- Samsung Galaxy Tab 3 10.1, GT-P5520, Android 4.4.2 - Works.
- Samsung Galaxy Note 2, GT-N7105, Android 4.4.2 - Works.
- Samsung Galaxy S5, SM-G900F, Android 5.0.0 - Works.
- Samsung Galaxy S4, GT-I9505, Android 4.4.2 - Crashes.
- Samsung Galaxy Note 10.1, SM-P600, Android 4.4.2 - Crashes and reboots.
Log:
Any progress in this issue? We are experiencing similar behaviour with our streams. Trying to figure out if there is any differences as some content seems to be playing just fine and some other content gets this CryptoException.
Will post any findings.
We are having exactly the same problem on latest ExoPlayer (1.5.2). Device that we can easily reproduce this problem is Samsung GT-I9500 with Android with Android 4.4.2 installed.
experiencing the same issue (Crash& Reboot) on a Samsung Galaxy S5 mini (SM-G800F) with Android 4.4.2 using exoplayer 1.5.2
Caused by: android.media.MediaCodec$CryptoException: Error decrypting data.
E at android.media.MediaCodec.queueSecureInputBuffer(Native Method)
We have the same issue here on Samsung devices and LG G4 / 5.1.1.
This is a critical issue, any workaround?
I see that issue #614 was closed as a content issue. If this is a dupe as stated in the original report, I will close.
If any participant feels differently please provide a full log, not filter and including system messages, and an ADB bug report.
Thanks.
We have the same Issue sending info via email
We found the issue, When the duration time in the licence response is relatively small the license plays fine. When the duration is big (e.g: 1464944739) there is failures on some of the devices.(S4 for example)
Try to make sure the license response duration is not too big. Thanks @giladna
Thank you for the follow up. will close the issue now.