Player hangs and doesn't play next media if the current media is corrupted or not found.
@marcbaechinger is already working on this.
Since Apr 26, 2023.
- 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 bugreportto dev.exoplayer@gmail.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.