androidx / androidx/media

IMA Extension, when user skips an ad, preloaded primary content is dropped and download again

Open
#2,712 0 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Aug 12, 2025.

enhancement low priority
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

ImaAdsLoader (client-side), when playing an ad, primary content is being downloaded.
If exoplayer plays an ad till the end, it loads already downloaded content.
If I press the skip button, all downloaded content is dropped and being downloaded again.

I think the queue should not be rebuilt. Exoplayer should keep preload content, since the player starts from the begining of the content if we press skip button, The preload content can be reused to save bandwidth.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.