-
Notifications
You must be signed in to change notification settings - Fork 473
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
Player stopping unexpectedly #1962
Comments
Thanks for your report! These are the things you can do to make this actionable for us in case you are able to repro on a device:
Else in case you can repro consistently on the device with your app:
|
Hi, We sent you some reports by mail yesterday and this morning. We also noticed that every occurrence of the issue is accompanied by the following lines. Sometimes, we can reproduce the problem three times in ten minutes, while other times, it works flawlessly for the entire day. 12-11 16:28:32.551 519 1304 D AudioFlinger: mixer(0xf2417ea0) throttle end: throttle time(3) |
Fyi, since our rollback to 1.4.1 for our beta users, we didn't notice this issue anymore. Is there something in 1.5.1 that could help for this issue ? |
Thanks for your report, stream URI and the bugreport sent over email. I can't really say much more than this needs more investigateion I'm afraid. I couldn't repro on mobile which is probably expected. Around the timestamp 09:35:45 that you identified, playback position stopped advancing. The timeline is further refreshed and the media position instead starts to move backwards in the window. After the media position was at This confirms the behavior you are seeing looks like being paused and timeline and media keeps loading as expected. Around that time there is some low memory reported for your app, but I'm unsure how that would be related without seeing ExoPlayer reporting any errors. I think there would be an error either when there is an actual OOM, or when the This lets me guess of the Surface being in trouble also because there lots of such errors two minutes before:
where it seems a second ExoPlayer instance is started briefly after the channel was switched the last time (during the failing stream).
According to the logs there are two Surfaces involved and I see both disconnected at '09:33:52.452'.
If you can repro this again, can you check whether these Surface problems are involved again? Similar for the OOM or send the bug report to the same email address again for us. The timing of the Surface problem doesn't match with the timestamp when it starts to pause. What I'm trying to say is that I don't know how that actually would be related.
I think there isn't something that is supposed to address something you are reporting. From the logs and manifest I see this is a single-period live DASH stream. There is #1698 but there it's about a transition in multi-period and there isn't a fix release yet I think. We need to investigate this some further. |
Hello, Back from vacation ! The second stream you see starting in the logs is probably a navigation in the menu with an autoplay-card triggered. Just to let you know, it's our top priority, we've dig into the tickets you mentioned. We will test the following versions on multiple TVs:
And I come back to you with the results in some days, maybe it's already fix. One thing is certain, it was working fine in 1.4.1 and the problem appear with 1.5.0. |
After one week, I can confirm I reproducing the issue on 1.5.0 and 1.5.1. The testing is very long to reproduce, but when it occurs, it will occur very frequently on all our AAC channels. |
After weeks of testing and many hours of effort, we have found a straightforward way to reproduce the issue by repeatedly unplugging and plugging the HDMI cable on our box. Here is what I can confirm:
Could you provide more details about this regression? Is it something specific to our device or stream that is causing this behavior, or does it stem from the patch itself? |
Hi, From your description, it seems like you've run into an underflow in For context, this is an underflow in
And then
If One of the easiest ways I found to repro the issue was to spam playback speed changes to the player ( The analysis in your previous comment including the culprit CL was spot on so, kudos on that! Please let me know if 7ecaebe fixes the issue, otherwise we might be dealing with something different. Thanks! |
Hello, Thanks for the quick feedback. The nightly build seems to work fine, so I guess it is the fix you mentioned. We will stick to the 1.5.1 with the line change until there is a beta/rc/final 1.6.0 release. |
Version
Media3 1.5.0
More version details
No response
Devices that reproduce the issue
Vantiva Sapphire/Quartz
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
No
Reproduction steps
We’re trying to update our media3 player to the latest version (1.5.0), but we’re encountering an issue. I’m not sure if you’re already aware of it.
It’s quite difficult to reproduce consistently, but our testers are providing significant feedback about the problem.
The issue occurs when the player freezes on a frame and stops playing. It looks like a pause, but the pause action isn’t triggered. Using Wireshark, we can see that the stream continues to download. There’s no audio. If we manually trigger the play/pause action, it pauses as expected, and when we trigger it again, playback resumes as if nothing happened.
This seems to occur with the following streams:
I understand this ticket lacks precise details. What steps could we take to provide you with better feedback?
This problem never occurs on the previous version 1.4.0.
I couldn't reproduce in the demo app yet but maybe I didn't test it long enough.
Expected result
Continuous live playing
Actual result
The player is stopping unexpectedly
Media
If needed we can provide you a test live stream.
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: