New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to handle key response: DRM vendor-defined error: -2902 #2648
Comments
@stellabei can you please provide a full adb bugreport? |
Attached file includes relevant part of adb output. |
@stellabei can you please provide a full adb bugreport? The snippets shows the error but does not include some entries that we would expect to see in a full unfiltered bug report. |
@wvpaf Hi, unfortunately we don't have the full adb bugreport. The log that we provided was user logs captured by crashlytics. We can not reproduce this problem since it requires an upgrade. |
@wvpaf One more important information. I tried to reproduce this problem by "simulating" a system upgrade using a rooted phone. The simulation is done by flashing a new version without erasing user data, it is the closest that I can get as a system upgrade. I had some downloaded encrypted media before the "upgrade", after that when I try to play them, I got the following error "Failed to restore keys: DRM vendor-defined error: -2887". Although the error code differs from the user reported one, I believe the adb full log in this case can be very useful, so I'm attaching it. In this error -2887, the situation is "recoverable" since we can just request a new license when that happens. But in the case of error -2902, it happens even for the streaming media, that leads to a situation that app can not do that much. Hope this full adb log helps. |
@stellabei the 'afterupgrade.txt' log does not provide any clues on the initial issue. Are you only getting reports of issues on this one device after the upgrade? Do you know if any of these Having a full adb log from a failing device would be best. |
@wvpaf as I stated before, we do not have the full adb log from a failing device. They are all user devices that we can not have access. We will try to buy one and reproduce and will let you know. But in the meanwhile, can you please help us understand what this error means? -2902. Thanks! |
@wvpaf I sent and email with this issue number to dev.exoplayer@gmail.com adb logcat. If you need wireshark or bug report please let me know. Thanks! I also attached Kaltura Device Info before and After for comparision. I was also able to reproduce this problem using exoplayer demo app:
|
@stellabei The -2902 error indicates a problem in the device security software. The SoC vendor is in the process of providing an update to Motorola to resolve this issue. |
@jefftinker Thanks a lot for the response! You made my day :-) If you have any estimate date for this please let me know! |
Hello, |
@ram992 - You should be able to determine when this error occurs in the |
@ojw28 - as you said, the log shared by @stellabei is not enough, I was able to reproduce the same issue with the demoPlayer and with the same content you have provided in the main screen for testing. |
Closing because this is not an ExoPlayer issue. From @jefftinker's response above the SoC vendor is providing Motorola with a fix. |
@ram992 - Please file the Le-Max issue as a separate issue, with a full bug report and detailed information included as requested in the issue template. |
Issue description
This issue started to happen when user upgraded their Android OS from M (6.0.1) to N (7.0). Either their download or steaming video does not play anymore due to this DRM problem.
We'd like to know what this error code means at least. Thank you!
Reproduction steps
It is hard to reproduce since it involves a system upgrade
Link to test content
email the link to
dev.exoplayer@gmail.com including the issue number in the subject line.
Version of ExoPlayer being used
r1.5.1
Device(s) and version(s) of Android being used
version of Motorola Droid Turbo 2 before upgrade:
6.0.1
after upgrade:
7.0
A full bug report captured from the device
android.media.MediaDrm$MediaDrmStateException: Failed to handle key response: DRM vendor-defined error: -2902
The text was updated successfully, but these errors were encountered: