-
Notifications
You must be signed in to change notification settings - Fork 6k
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
frames were skipped when resuming video after pause #6901
Comments
Possibly relevant log line (i.e. 4 frames were dropped):
There are 53 other similar lines, always between 1 & 5 frames dropped. I'll keep digging. |
I don't see anything else suspicious in the logs - can you explain how you're observing this 200-500ms skip? The logging I can see looks like resume If there was a jump during the pause, it might be expected for the second I don't have access to an A20e I'm afraid, so I'm not able to reproduce it myself. If this problem is visually obvious, maybe you could capture a screen recording using |
thats interesting @icbaker, thanks for the insights. I can definitely constantly reproduce this with the mentioned samsung device. You can find a screen record via adb here |
Thanks for the video, I'm also now able to reproduce locally. Andrew's going to take a deeper look at what might be happening with timestamps to cause this. |
Issue: #6901 PiperOrigin-RevId: 314418536
The commit ref'd above should make resumption after pausing a lot smoother. It will make it into the 2.11.5 release. Please let us know if you have any feedback! |
Issue: #6901 PiperOrigin-RevId: 314418536
Issue description
I am facing an issue where ExoPlayer is somehow skipping frames on certain devices when playing a video after it has been paused. When resuming the video, exoplayer continues playback from stopped position + 200 to 500 ms (maybe it continues playback from one of the next/closest sync point). This may sound more like a nitpick to you, but our user experience highly depends on a smooth video playback.
I am happy to dig deep into the Exoplayer implementation to find a solution or at least a workaround for the issue, but maybe you guys already have an idea or a good starting point for me.
Reproduction steps
This issue was seen on a Samsung Galaxy A20e with Android 9 running
sample/demo
from this repositoryLink to test content
happens for all videos of the demoapp
A full bug report captured from the device
bugreport-2020-01-22-13-46-54.zip
Version of ExoPlayer being used
Seen on version 2.9.0 and 2.11.1
Device(s) and version(s) of Android being used
Seen on Samsung Galaxy A20e with Android 9
The text was updated successfully, but these errors were encountered: