frames were skipped when resuming video after pause
See original GitHub issueIssue 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 repository
Link 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
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
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!
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.