-
Notifications
You must be signed in to change notification settings - Fork 30
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
strange behaviour between media playlist and its segments unknown tags #55
Comments
See #59 |
@sdroege I think PR only fixes |
Indeed. The problem here is that everything that is not a known media playlist tag ends up in a media segment as there's no clear indication in HLS between what is the media playlist "header" and where the media segments are starting. This looks like it could be improved a bit though. Your first What we could probably do here is to consider everything part of the "header" until the first known media segment tag is found. In that case your first What do you think? |
Thanks for explaining me so well. I understood that we can't parse
|
I would consider everything part of the playlist until the first known media segment tag, and everything after the last media segment URL/filename also as part of the playlist. Everything in between would be for the next segment. |
It would be the best solution to this problem. If someone wants to check unknown_tags for first segment, then it can be inferred from playlist unknown_tags. |
Or they would have to be after some other known media segment tag, e.g. between the extinf and segment URL/filename |
I have never seen a playlist using media unknown tags in between segments. Everything between the extinf and segment URL/filename should be considered as segment unknown tags. |
That's what I'm saying, yes. Sorry if I wasn't clear :) |
hey @sdroege are you still working on this? |
Not right now, please feel free to take this over. |
The text was updated successfully, but these errors were encountered: