question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to play DRM or Encrypted Content on Asus Nexus 7

See original GitHub issue

[REQUIRED] Issue description

We have reports that some of our users are unable to play any encrypted content on this device. We managed to get a test device and installed the Exoplayer demo app. So far, we’ve seen similar playback errors.

Everytime we tried playing DRM content, we receive this error:

Caused by: com.google.android.exoplayer2.drm.DrmSession$DrmSessionException: com.google.android.exoplayer2.drm.MediaDrmCallbackException: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 400

From the looks of it, the player seems to be sending a bad request to the license servers. I’ve attached the full bugreport for more details.

[REQUIRED] Reproduction steps

Play any secure test stream. Test streams that we tried:

  • SW secure crypto (L3)
  • SW secure decode
  • HDCP not Required

[REQUIRED] Link to test content

We’ve used the test streams on the demo app

[REQUIRED] A full bug report captured from the device

bugreport-2020-09-25-18-16-25.zip

[REQUIRED] Version of ExoPlayer being used

Exoplayer 2.12.0

[REQUIRED] Device(s) and version(s) of Android being used

Nexus 7.0 - Android version 6.0.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rrfriascommented, Sep 30, 2020

I assume you are playing back content labelled “SW secure crypto (L3)” in the demo app. If so, that refers to the content policy. It will still use the default device security level. For Nexus 7 is L(evel) 1 security. To playback using L(evel) 3 security, search ExoPlayer code for “forceWidevineL3” for an example. If you need more details about Widevine properties and are a Widevine licensee please contact Widevine support at https://www.widevine.com/contact.

I will close this for now. If there any additional questions please contact Widevine support or reopen.

1reaction
CipherGitcommented, Sep 28, 2020

@rrfrias Thank you for the reply! We thought of falling back to L3 however, we tried the “SW secure crypto (L3)” from the demo which also did not work. Do we need to configure something else? Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

DRM-protection troubleshooting - Kanopy Help
Go to about:preferences. Ensure Play DRM-controlled content is selected under "Digital Rights Management (DRM) Content." Select Extensions & ...
Read more >
How to check if your Android device supports Widevine DRM
Want to know if your Android device can stream HD videos from Netflix and Amazon Prime Video? Here's how to check for Widevine...
Read more >
DRM Content Protection meaning & How to DRM ... - VdoCipher
DRM Content Protection refers to different processes used to control the use of digital media, software, or devices designed to prevent ...
Read more >
DRM Info - Apps on Google Play
*THIS IS A DEVELOPER TOOL ONLY* *If you have problem with your media app, contact that app's support* This app will display the...
Read more >
Google finally fixes Widevine bug that broke HD Netflix on ...
If your device doesn't support L1, you might not be able to play content at HD quality in some services, or you might...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found