Skip to content

Disabling inflight subtitle playlist prevents segments from ever loading #6402

Closed
@andreasschrottenbaum

Description

@andreasschrottenbaum

What version of Hls.js are you using?

1.5.x

What browser (including version) are you using?

Chrome

What OS (including version) are you using?

macOS

Test stream

https://codepen.io/3qgmbh/pen/MWdgKVK

Configuration

{
  autoStartLoad: false
}

Additional player setup steps

No response

Checklist

Steps to reproduce

When I try to Change to the first textTrack, there is no reaction.

The other tracks can be changed as expected, but choosing the first one doesn't have an effect.

The code works up until HLS 1.4.14, but on 1.5.x it's broken.

Example Codepen: https://codepen.io/3qgmbh/pen/MWdgKVK

Expected behaviour

You can choose the first texttrack

What actually happened?

When choosing the first texttrack, the last message (if existing) keeps being displayed

Console output

[log] > [subtitle-track-controller]: Switching to subtitle-track 0 "English" lang:en group:textstream

contrary to the other texttracks, there is no more output after this line. Video was buffered and paused

Chrome media internals output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions