androidx / androidx/media

Ads getting stuck in Buffering state

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

@marcbaechinger is already working on this.

Since Mar 6, 2024.

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

Description

Version

Media3 1.2.0

More version details

No response

Devices that reproduce the issue

All of them

Devices that do not reproduce the issue

Not Required

Reproducible in the demo app?

Not tested

Reproduction steps

retry loading the preroll multiple times

Expected result

Preroll ad should play bufferlessly

Actual result

I am encountering an issue with the pre-roll ads in ExoPlayer. Occasionally, ads become indefinitely stuck in buffering mode after approximately 3-4 seconds of playback in the ExoPlayer. Despite the ad controls being visible, the ad fails to resume playback.

Furthermore, I have noticed that in certain instances, the player screen turns black while the ad volume remains audible, subsequently leading to the ad becoming stuck in buffering mode.

Media

not required

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.