Skip to content

PROPOSAL: enhance live stream support #77

@jonasgrosch

Description

@jonasgrosch

I'm interested in using this package for livestreams by bringing it closer to a player implementation:

  • Changing the processing order from 1. all audio fragments 2. all video fragments to iterate by fragment id and get audio and video at the same time and process them JIT
  • Not use tempfiles when the fragment save option is activated but operate on the output files
  • periodically refetch the mpd file
  • start at live position or select a catchup mode where we start processing in the beginning of the stream(if fragments still available) and keep processing live until stream ended or user interrupted
  • allow for graceful sigint/ctrl+c interruption in general

I personally believe that these features would roundup this module, this is why I'm opening this issue rather than just going ahead reimplementing most of this logic. I think rather than a completely dedicated routine we could offer these features being backwards compatible and still fully supporting the VOD usecase that is currently covered and keeping the api pretty much the same with little additions.

I'm happy to help with the change in implementation if you find this proposal useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions