androidx / androidx/media

[Feature Request] Preload Manager for CompositionPlayer

Open
#3,034 0 comments 0 reactions 1 assignee View on GitHub

@tianyif is already working on this.

Since Feb 9, 2026.

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

Description

[REQUIRED] Use case description:
CompositionPlayer does not currently have a way to preload upcoming media items like ExoPlayer does. When switching between media items, there is a visible stutter caused by decoder initialization and buffering, which breaks seamless transitions in short-form video apps for example..

Proposed solution:
Introduce a method similar to ExoPlayer’s setPreloadConfiguration / PreloadManager that allows CompositionPlayer to preload the next media items ahead of time, so transitions can occur without stutter.

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.