androidx / androidx/media

Byte Range Support for Progressive Media Playback

Open
#2,641 1 comment 0 reactions 1 assignee View on GitHub

@icbaker is already working on this.

Since Jul 23, 2025.

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

Description

Use case description

ExoPlayer should fetch progressive playback data using HTTP byte-range requests instead of keeping a single connection open and reading from it based on LoadControl settings. On the client side, iOS and Safari already use byte-range requests—making multiple API calls—for MP4 playback; we want to experiment with this approach on Android to see how it performs.

Proposed solution
  • Modify ProgressiveMediaPeriod.buildDataSpec() method to use setLength method to trigger byte-range request.
  • FLAG to A/B test this behaviour

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.