Closed GouravSna closed 4 years ago
Can you provide the media file and the necessary information to play it as described here?
Hi @kim-vde , I have replied you privately over the email.
I can't play the content you provided but I get a different stack trace:
Can you play the Widevine contents from the ExoPlayer demo app?
From which location you are trying to play the media ? May be it is geo blocked. Yes, I can play the widevine content on demo app.
I am trying to play the media from the UK.
Did you try to
I have shared another media set. I tested on Exo-Demo as well. It works fine there.
I can indeed play the media you provided with the ExoPlayer demo app. This means that the issue does not come from the media.
You should compare the code of your app with the one of the demo app to see what are the differences and what causes the ANR.
But I have shared you the adb logs. if you can possibly drill down and see. Because this error is intermittent.
The error is thrown by the Android Framework, when calling new MediaDrm(adjustUuid(uuid))
in class FrameworkMediaDrm
.
What is the UUID
passed to this constructor? Does it correspond to C.WIDEVINE_UUID or to C.CLEARKEY_UUID? What is the API level in your test device?
Yes C.WIDEVINE_UUID
API level 28
I'm afraid we don't have the resources to help on this issue as there isn't enough information to reproduce, so you'll need to put some time into debugging this yourself.
You said you could play the media wihout issue in the ExoPlayer demo app. You should compare the code of your app with the one of the demo app to see what are the differences and what causes the ANR.
I don't think we've been provided with a full bug report for this issue. Please capture one using adb bugreport
shortly after encountering the problem, and either provide it by email or attach it here. A small snippet of log is not sufficient for debugging this type of issue.
If you're able to provide a full bug report, please do so. If you've already provided one and I just haven't found it, please let me know where I can locate it. Thanks!
Hi @ojw28 , I have shared the reports over email. Please let me know if it helps. I am also not able to reproduce on my end.
Unfortunately the provided information isn't much to go on. Do you see the ANR only on the 4 devices mentioned? What kind of volume of reports are you seeing? Thanks!
No, it is not like that the issue is only in these 4 devices. These are the most frequent ones. Redmi Note 7 Pro(violet) is 5000 device affected, it has android-9
Hey @GouravSna. We need more information to resolve this issue but there hasn't been an update in 14 days. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
@ojw28 , I also don't have more info than this. If possible please check this or else close it.
Closing for now because there's not enough information to go on.
[REQUIRED] Issue description
We are seeing potential ANR in the application. It is coming when we are calling
openSession()
[REQUIRED] Reproduction steps
When we are calling mediaDrm.openSession() then in
FrameworkMediaDrm
class, following method looks like waiting for the response from jni.[REQUIRED] A full bug report captured from the device
[REQUIRED] Version of ExoPlayer being used
ExoPlayer version: 2.10.6
[REQUIRED] Device(s) and version(s) of Android being used
Affected Android OS : 9, 8.1, 10, 5.1 etc Device name: Redmi Note 7 Pro(violet), Mi A1(tissot_sprout), Redmi 5A(riva), Realme 2 Pro(RMX1801)