Hi, we have successfully implemented Token security in our HLS streams, works very good but we want to improve even more this.
We have a lot of types of videos from, little snippets up to 8 hour long conferences, we have with a very time to live token (24 hours), but we want that the token be generated by the length of the video dynamically, so a video snippet of 2 minutes can have a token that will live 2 minutes + an offset and the 8 hour long video a token of about 8 hours + an offset.
Is there a way that I can get the length of the video from the m3u8 or other means?