Waive ads when seek/start at the beginning
Maintainers usually reply within 5 days
@microkatz is already working on this.
Since Oct 28, 2026.
Assessment
This issue has not been assessed yet.
Description
We are using the following to present SGAI content.
- Exoplayer 1.10.1
- HlsInterstitialsAdsLoader
We found a symptom
When joining a live stream/seek in a live stream. ExoPlayer would always find the previous AVAILABLE Ad in the timeline and play it. After finishing the ad, it would resume to the content.
Take the following state as an example. We join the playback at 15:33:19.008. ExoPlayer would automatically falls back to AdGroup5 and play them.
===== LIVE timeline =====
WINDOW start=13:33:40.408 end=15:33:38.208 duration=7197.800s
LIVE EDGE 15:34:23.597
DEFAULT 15:33:19.008
CURRENT 15:33:19.008 playingAd=false
AD period=0 group=0 ids=[763485073_7109900583261803647_0] start=13:36:24.968 duration=unknown resume=13:43:23.528 resumeOffset=418.560s states=[AVAILABLE]
AD period=0 group=1 ids=[763485073_5202997340818149119_0] start=14:11:09.128 duration=unknown resume=14:13:08.168 resumeOffset=119.040s states=[AVAILABLE]
AD period=0 group=2 ids=[763485073_3959235339181683986_0] start=14:24:55.608 duration=unknown resume=14:30:56.568 resumeOffset=360.960s states=[AVAILABLE]
AD period=0 group=3 ids=[763485073_1938461458152811493_0] start=14:40:04.968 duration=unknown resume=14:47:03.528 resumeOffset=418.560s states=[AVAILABLE]
AD period=0 group=4 ids=[763485073_4363027643061820056_0] start=15:12:00.368 duration=unknown resume=15:13:59.408 resumeOffset=119.040s states=[AVAILABLE]
AD period=0 group=5 ids=[763485073_771285004374321729_0] start=15:21:57.888 duration=unknown resume=15:28:56.448 resumeOffset=418.560s states=[AVAILABLE]
ADS [-AAAAA----------------AA------AAAA-----AAAAA--------------AA----AAAAA---]
CURRENT [ ^ ]
What do we want
We really don't want to force our users to watch the previous Ad whenever seek/play. Is there simply way to do this?
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1k
- Avg merge
- 8d 4h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from androidx/media
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Maintainers usually reply within 5 days
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
Maintainers usually reply within 5 days
-
Cast: system output switcher on Samsung One UI 9 (Android 17) only offers Samsung Audio Mirroring, never a Cast sessionPossibly taken @tanay187 claimed this 2 days ago. Openbug cast needs triage
androidx/media#3500 · 3 comments · 2 assignees ·
Maintainers usually reply within 5 days
-
Since 1.9.0, skip buttons in SLOT_BACK / SLOT_FORWARD reach legacy controllers as custom actionsPossibly taken @marcbaechinger claimed this 4 days ago. Openbug
androidx/media#3495 · 1 comment · 1 assignee ·
Maintainers usually reply within 5 days
-
Allow configuring asset-list prefetch timing per HLS interstitialPossibly taken @marcbaechinger claimed this 5 days ago. Openenhancement
androidx/media#3494 · 3 comments · 1 assignee ·
Maintainers usually reply within 5 days
Similar issues
-
[Bug] 资源包列表 与 模组/数据包/世界 列表排列顺序不一致Possibly taken @fishdry1000 claimed this 4 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AtlasOfLivingAustralia/species-lists#882 ·
Maintainers usually reply within 1 day
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ballerina-platform/ballerina-library#9458 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
winder/Universal-G-Code-Sender#3242 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PCL-Community/PCL-CE#3767 ·
Maintainers usually reply within 1 day