androidx / androidx/media

Audio stops playing, the player doesn't stop nor reports an error

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

@icbaker is already working on this.

Since Feb 8, 2024.

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

Description

Version

Media3 1.2.1

More version details

Also reproducible on main c6bf380d50d4601ce6ec567ebd56ccf5e36fa8cf

Devices that reproduce the issue

Android emulator API28 (probably others as well)
Samsung Galaxy S22

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Use the attached file.
Play it for 2:18.

Expected result

Audio keeps playing till the end.
Alternatively an error is reported to the app and state is no longer "playing"

Actual result

Audio stops at 2:18. The UI is still in the playing state, the progress bar keeps advancing.

Media

audiotrack-stop.zip

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.