<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><span style="font-family:Arial,Helvetica,sans-serif">On Wed, Jul 14, 2021 at 8:15 AM Reinis Rozitis <<a href="mailto:r@roze.lv">r@roze.lv</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> How? The presentation does not cover that.<br>
<br>
You shouldn't stick to a single youtube video.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">This is the only video that I found that covers HLS. I also read the module documentation.</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> And it can't be a simple HTTP<br>
<br>
It is. <br>
Even the name HLS stands for "HTTP Live Streaming".<br>
<br>
<br>
> , because as you said yourself, with HLS I would just end up with a cached playlist and bunch of useless VOD chunks that I don't want to ever serve.<br>
<br>
As with http objects to cache or not to cache is something the server can specify (like no-cache headers (add_header 'Cache-Control' 'no-cache'; [1]) etc) and it's on player/client side to honour those<span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">.</span></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">OK, if I have an HLS stream with caching turned off, will nginx do the correct thing? That is, serve the same stream (+/- couple of RTT) to each user and not cause interruptions of the stream when the chunks roll over? Because I don't see how that is possible if it is treated as simple HTTP.</div></div></div></div>