Skip to content

webvtt subtitles in HLS are not displayed when the PTS wraps around #2928

@bbagland

Description

@bbagland

Issue description

Play a HLS stream where the PTS from the main video segment are wrapping around with webvtt subtitles.
bugreport.1.txt.gz
The webvtt subtitles are never displayed.

Reproduction steps

It is reproduced with the demo on the latest release 2.4.1.
it is not necessary, but it is easier if subtitles are set by default:

  DefaultTrackSelector.Parameters parameters = trackSelector.getParameters();
  parameters = parameters.withPreferredTextLanguage("heb");
  trackSelector.setParameters(parameters);

Link to test content

stream to be sent by email

Version of ExoPlayer being used

release 2.4.1 (commit 9f81485)

Device(s) and version(s) of Android being used

reproduced on Sony xperia z3 compact, as well as android tv devices.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions