kim-company / membrane_hls_plugin

Plugin providing a `Membrane.HLS.Source` element for HTTP Live Streaming (HLS).
Apache License 2.0
8 stars 5 forks source link

Handling of discontinuity in HLS playlist #6

Closed varsill closed 6 months ago

varsill commented 9 months ago

Hello! I wasn't sure where should I put that issue, and I thought it would be best to put it here - please correct me if I am wrong :D In my pipeline, which uses HLS Source, I need to update timestamps in an appropriate way when the discontinuity (indicated by the ext-discontinuity flag in the HLS playlist) occurs. Currently, such a discontinuity is not handled by the source, and there is no way to find out that it is happening.

To solve that problem I have created a couple of PRs that add support for reading ext-discontinuity flag from the HLS playlist as well as sending Membrane.Discontinuity.Event in case discontinuity occurs. More details are described in the PRs themselves:

dmorn commented 7 months ago

Hi @varsill, are we complete?

dmorn commented 6 months ago

@varsill ping! ;)

varsill commented 6 months ago

Hi @dmorn, sorry for such a late response! Indeed, we are complete, so I will close the issue.