Incorrect AdMarkers are being highlighted - MidRoll Ad Replays
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
### ExoPlayer Version
2.18.2
### Devices that reproduce the issue
- Samsung Galaxy Tab S5e (OS11)
- Samsung Galaxy A13 5G (OS12)
### Devices that do not reproduce the issue
_No response_
### Reproducible in the demo app?
Not tested
### Reproduction steps
1. Launch video
2. Scrub past two midroll pods
3. User must watch at least one
4. Scrub back between the first and second midroll pod
5. Watch midroll pod (since first midroll marker still active)
6. Close player and relaunch/resume same episode
7. Confirm first and second midroll markers are inactive
8. Scrub ahead past third midroll - watch midroll ads - third midroll marker becomes inactive
9. Scrub back in front of third midroll pod - keep an eye on 2nd and 3rd midroll markers.
- The 2nd or 3rd midroll marker may become active again
- If 2nd midroll marker becomes active again, a midroll will play again, but starting at Ad 2/4
10. If content just continues to play, continue to Step 10
11. Close player again and relaunch
I will share the video of what is actually happening on [dev.exoplayer@gmail.com](mailto:dev.exoplayer@gmail.com).
### Expected result
The video should resume properly with the proper ad marker highlighted.
### Actual result
Incorrect mid-roll markers are becoming active.
### Media
I will share the video on [dev.exoplayer@gmail.com](mailto:dev.exoplayer@gmail.com).
### Bug Report
- [ ] You will email the zip file produced by `adb bugreport` to dev.exoplayer@gmail.com after filing this issue.
Contributor guide
Assessment
This issue has not been assessed yet.