androidx / androidx/media

Stream freezing when changing from 4k -> 2k.

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

@tonihei is already working on this.

Since Feb 6, 2026.

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

Description

When streaming 4k content, our surface buffer is failing and the player is freezing when shifting from 4k to 2k on a HEVC stream. It works in the media3 demo application and we can't find the difference in our implementation. Wondering if others have come across this behavior before or have some ideas on how to resolve. 4k -> any other resolution works just 4k -> 2k causes the freeze.

Non-DRM stream to try : https://linear.twlive.enwd.co.sa.charterlab.com/LIVE/2054/bpk-tv/22163/clear/index.mpd

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.