Skip to content

Instantly share code, notes, and snippets.

@sharish
Last active October 9, 2017 12:29
Show Gist options
  • Save sharish/e8ec42a42d4606b0650d9ece4d512fe3 to your computer and use it in GitHub Desktop.
Save sharish/e8ec42a42d4606b0650d9ece4d512fe3 to your computer and use it in GitHub Desktop.

Issue description

Whenever a Widevine DRM encrypted video played on certain devices, the player throws android.media.MediaDrm$MediaDrmStateException: Failed to get provision request: DRM vendor-defined error: -2990

Reproduction steps

  1. Close the Exoplayer version v2.5.3
  2. Create a demo apk.
  3. Try playing the Widevine DRM videos in the demo app.

Link to test content

You can use any of the sample videos list in demo playlist in Widevine section
or
Use this exo playlist : harish.exolist.json

Version of ExoPlayer being used

v2.5.3

Device(s) and version(s) of Android being used

Redmi 4A - 6.0.1 (Fingerprint : Xiaomi/rolex/rolex:6.0.1)

Same issue was also found in following devices which my users reported


Redmi 3s - 6.0.1 (Fingerprint : Xiaomi/land/land:6.0.1)
Lenovo K3 - 6.0 (Fingerprint : Lenovo/K50a40/K50a40:6.0)

Attachments

Logcat report : Redmi_4A_Logcat
Bugreport : Redmi_4A_Bugreport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment