androidx / androidx/media

ExoPlayer may get wrong video size after switching video tracks.

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

@microkatz is already working on this.

Since Mar 30, 2025.

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

Description

Version

Media3 1.5.1

More version details

No response

Devices that reproduce the issue

Android Emulator api 36

Devices that do not reproduce the issue

Pixel 7 Pro api 35

Reproducible in the demo app?

Yes

Reproduction steps
  1. Open source of domo-gl
  2. Replace media url with: https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8
  3. Replace "dash" with "hls" in line 170 and 172
  4. Run the demo on Android Emulator
  5. Wait for resolution change
Expected result

The picture should be fully displayed

Actual result

The picture is incomplete
Image

Media

https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

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.