androidx / androidx/media

Player hangs and doesn't play next media if the current media is corrupted or not found.

Open
#351 0 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Apr 26, 2023.

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

Description

Media3 Version

Media3 1.0.1

Devices that reproduce the issue

Samsung S21 FE.

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Just add a list of media and put an invalid media between the list and try to play next video. You will see that the player needs to be Re-initialized. In order to play the media.

Expected result

Even if the media is invalid or url unable to load the media or even the media keeps buffering, it should plays the next video if i pressed on thrle next button in the player.

Actual result

The current result the player keeps hanging with blank screen and only shows the time of the next media in the list.
Just add this rtsp source

rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4

And add another media after loading this URL you will find that the player is in buffering state since this url has an issue with the media probably its not up anymore. But how ever even if there is an issue with the media url it should play the next valid video in the list not corrupting the whole player.

Media

rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4

Bug Report
  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.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.