google / google/ExoPlayer

Skip playback of TS clips with errors

Open
#10,733 4 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### ExoPlayer Version

2.18.1

### Devices that reproduce the issue

If one of the ts in hls m3u8 list get error,then ExoPlayer stop to play. But Chrome browser, iOS AVPlayer and IJKPlayer by bilibili can jump the error ts and play next ts.
ExoPlayer can set an error TS upper limit, for example, if the error exceeds 3 times, it will stop playing.

### Devices that do not reproduce the issue

Any Android Device

### Reproducible in the demo app?

Not tested

### Reproduction steps

None

### Expected result

None

### Actual result

None

### Media

Any m3u8 file with one ts error.

### Bug Report

- [X] 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.