androidx / androidx/media

HLS Video zoom-in when select a video track with higher resolution, and zoom-out when select a video track with lower resolution

Open
#1,831 11 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Oct 25, 2024.

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

Description

Version

Media3 main branch

More version details

commit: d2fb779929f05b01b52b78873d39367d72440ee0

Devices that reproduce the issue

Pixel8 running android 15 (emulator)

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps
  1. in short-forms demo project, add this sample HLS video url "https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel.ism/.m3u8" to the list in MediaItemDatabase class.
  2. wait a little bit, until another track get selected based on the network strength, (will select lower resolution if network is low, and will select higher resolution if network is good enough)
Expected result

the player switch tracks correctly and change the resolution without ui issues

Actual result

the player shows the new track zoomed in if the track is a higher resolution, or will show it zoomed out if the track is lower resolution
Screenshot_20241024_230734
Screenshot_20241024_232030

Media

https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel.ism/.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.