google / google/ExoPlayer

Player freezing when seeking HLS content almost to the end when there are dub cards

Open
#10,725 1 comment 0 reactions 1 assignee Claimed by @rohitjoins View on GitHub
bug needs triage
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### ExoPlayer Version

2.15.1

### Devices that reproduce the issue

Happens on all devices, apparently.

Detected on:

* LG K12 running Android 8.1.0
* Emulator Android 12

### Devices that do not reproduce the issue

_No response_

### Reproducible in the demo app?

Yes

### Reproduction steps

This issue happens only on content that has "dub cards" (small separate content showing dubbing credits) at the end.

1. Play HLS content that has dub cards at the end and text tracks
2. Choose a text track (CC/subtitle), has the same effect when a forced subtitle is selected
3. Seek (scrub on the UI) almost to the end (over to where the dub cards would be playing)
4. The video freezes on a frame instead continuing to play. Play/pause doesn't work.

### Expected result

The media should continue to play through the dub cards until the end, as in normal seek and as it happens when seeking earlier in the content.

### Actual result

The player is stuck. A single frame of the dub card is shown, but playback doesn't continue.

The play/pause button doesn't work.

Normal playback (no seeking) works as expected. Seeking anywhere else works as expected. When stuck, seeking back also works as expected. FF and RW work as expected, seeking works (a different frame is shown) but if still in the dub cards, it will remain stuck, if out of the dub cards, playback will resume.

### Media

Media URL will be sent to the email.

### 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.