Timed HLS cue points from JSON file #4095
Oliver-Mardle
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi! This is a great feature. Our current approach with HLS is that we might not be able to include the full set of features but want to have entry points for users to add their own. I think that your need fits perfectly into that. Currently, we provide extra tags options at the main and stream playlist level but they are static. I looks to me that you need a more dynamic way to insert tags, i.e. a Is that correct? If so, this is currently not supported. However, I should be able to add something to the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently looking into the insert_tag feature to add some custom tags to a HLS manifest.
I would like to read in a JSON file, and insert tags at the times stored in this file. What's the best method for doing this without using all of the system resources? I have figured out the JSON parsing, but now I need some sort of loop to compare the current time to the stored times in the JSON, and insert a tag if there's a match.
Previously, I had an external script triggered by on_file_change, however I now want to insert the tags using liquidsoap for better time accuracy, as it has the ability to end the current segment, insert a tag & start a new segment.
An example HLS manifest can be seen below with the CUE-OUT tag, currently inserted by an external script.
Beta Was this translation helpful? Give feedback.
All reactions