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.

Fallback to L3 incase of DRM errors while downloading content.

See original GitHub issue

When filing a question:

Describe your question in detail.

  1. Similar to the Issue here : https://github.com/google/ExoPlayer/issues/8108# Is it possible for us to force the device to use L3 security level using some blackList config, by passing a custom ExoMediaDrm.Provider? I saw one secondary constructor in the OfflineLicenseHelper Class but it has been deprecated.
  2. Is there any other work-around to avoid DRM Issues while downloading content on devices which have their L1 security level revoked?

Error

com.google.android.exoplayer2.drm.DrmSession$DrmSessionException: android.media.MediaDrm$MediaDrmStateException: Failed to get key request: General DRM error

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
rrfriascommented, Nov 2, 2021

These seem like two separate issues. Can you send a full bugreport to dev.exoplayer@gmail.com? It might shed some light on what is happening.

while playing the content without downloading, this error comes up.

I assume you are using the default security level (L1) but since it the device is revoked it ends up with higher resolution content and license policies that L3 cannot fulfill. HDCP and output protections are not supported on L3.

In the earlier case, it might be that the license was downloaded as L3 but it is search for an L1 offline license and cannot find it. Maybe you can tell. More logs will be helpful.

but with forcing widevine level L3, on both scenarios playing without downloading and downloading and playing the content works ( it downloads the lower resolution content and successfully able to play it).

This is the right way to handle devices for which L1 has been revoked. If you are part of CWIP, you can contact Widevine for support https://widevine.com/contact and a list of revoked devices.

1reaction
icbakercommented, Oct 28, 2021

@rrfrias can you please take a look at this question about the specifics of widevine offline licenses on a device with revoked L1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting DRM error messages - discovery+ Help Center
If you are having video playback issues and receive an error message with the prefix "DRM," please try the following steps, in this...
Read more >
How To Guide - [XT2141-2] Enable n77 for Verizon
So I noticed that despite supporting n77, my phone never used it. 5G/LTE Debugging Information doesn't show n77 as enabled for NSA when...
Read more >
SDK Updates – Intertrust ExpressPlay
Both DRMs can also be used with Marlin as fallback if the Native DRM is not available for content decryption. In the case...
Read more >
ConnectivityManager - Android Developers
Stay organized with collections Save and categorize content based on your preferences. ... It also notifies applications when network connectivity changes.
Read more >
SUSE-IU-2022:1061-1: Security update of suse-sles-15-sp4 ...
CVE-2022-1652 : Fixed a statically allocated error counter inside the floppy ... ALSA: hda: Skip codec shutdown in case the codec is not ......
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