Skip to content

Long running playlist with moving 2 hour live window, is it possible to prepend all earlier segments if the user requests? #7477

@twilson90

Description

@twilson90

What do you want to do with Hls.js?

When a stream is live, my HLS server serves the last 2 hours of segments. When a stream has finished, it serves the entire playlist of segments.

I would like an option so if someone is watching the live stream and wants to go back further than 2 hours in the past, they can click a button to request a list of all the previous segments, and seamlessly prepend them to the Hls.js segment list.

I know I could just initialize a new instance of Hls.js with all the segments, but this would probably disrupt playback.

What have you tried so far?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions