Skip to content

Custom storage.Factory #248

@kisasexypantera94

Description

@kisasexypantera94

Hi, I want to use gohlslib for LL-HLS streaming, and one of the features I need is to store all segments to enable live replay (seeking to any earlier point during the stream) and to provide VOD access after the live stream ends.

It looks like I can achieve this by writing a custom storage.Factory (and File) that keeps recent segments in RAM and offloads older segments to cloud storage. However, this would require some small changes (e.g., exposing more muxer state to the factory) to make it possible to implement such a factory cleanly.

Would you be interested in such a refactor or contribution, or would you prefer that I maintain a fork?

Metadata

Metadata

Assignees

No one assigned

    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