ExoPlayer: Bug on entering replaced ads HLS fmp4
ExoPlayer Version
2.18.3
Devices that reproduce the issue
The problem doesn’t seem to be device specific. Happens on devices and on emulator.
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Play the included live stream and watch it across a couple of ad breaks.
This stream will have a 2 minute ad break every 5 minutes. (:01, :06, :11, :16 … :56)
Expected result
The player should play normally across the ad breaks.
Actual result
Sometimes the ads will play OK. But it will inevitably end up in a broken state upon entering an ad break sooner or later (usually the second ad break). When this happens, the timeline seems broken. The player will attempt to seek to time that is not part of the current buffer, a time in the future.
Example image:
When the problem happens, the timeline looks like on the left. The player is at position 3:17 when it only has 01:38 worth of content. When in a regular state, it will look like the picture on the right.
Media
REMOVED
Bug Report
- You will email the zip file produced by
adb bugreportto dev.exoplayer@gmail.com after filing this issue.
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 20 (7 by maintainers)
Yeah, dunno yet.
The real time timestamp is from VLC which I won’t be able to explain. I will look into why ExoPlayer thinks there is a gap in audio timestamps reported with:
This says there is a 10 seconds gap in timestamp for a stream that has ads (of 10 seconds duration?) stitched in somewhere.
I’m not saying this is bad media as I haven’t looked into this in detail to be honest. I just saw that ExoPlayer and VLC complain about a similar thing, so I wanted to ask whether this is expected to work before spending more time on it. Sorry, just normal procedure aiming for spending my time well.
We’ll look into this and report back.