ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

Some Samsung devices crashes - CryptoException: Error decrypting data.

Open haitech opened this issue 11 years ago • 8 comments

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:

Log:

Samsung S4 Samsung Galaxy Note 10.1

haitech avatar Jul 24 '15 12:07 haitech

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.

ghost avatar Sep 02 '15 16:09 ghost

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.

artnalban avatar Nov 20 '15 19:11 artnalban

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)

nosyjoe avatar Dec 02 '15 14:12 nosyjoe

We have the same issue here on Samsung devices and LG G4 / 5.1.1.

This is a critical issue, any workaround?

tajoumal avatar Dec 10 '15 04:12 tajoumal

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.

wvpaf avatar May 03 '16 22:05 wvpaf

We have the same Issue sending info via email

giladna avatar Jun 02 '16 11:06 giladna

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

itaykinnrot avatar Jun 02 '16 17:06 itaykinnrot

Thank you for the follow up. will close the issue now.

wvpaf avatar Jun 21 '16 21:06 wvpaf