Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get current segment number from segment filename when updating HLS storage sequences #134

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lastcanal
Copy link
Collaborator

@lastcanal lastcanal commented Dec 18, 2024

The current implementation is not smart enough to discover when discontinuities have caused the segment number to increment, causing a mis-match between the stored sequence numbers and the current published 'preload-hint' partial.

This PR uses the filename to get the segment number but could be improved by including the segment number in the metadata sent by Membrane.HTTPAdaptiveStream.Storage

fixes #133

The current implimentation is not smart enough to discover when
discontinuities have caused the segment number to increment, causing a
mis-match between the stored sequence numbers and the current
'preload-hint' partial.

It would be possible to get rid of Regex.named_captures by including the
segment number in the metadata send by Membrane.HTTPAdaptiveStream.Storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeout while loading delta manifest after reconneciton
1 participant