One thought is this.. when ATS receives a request for a m3u8, and if that m3u8 results in a 200 TCP_MISS, then store that m3u8 URL somewhere. When that m3u8 is stored in whatever location, that store triggers a job that then parses the m3u8, and then requests(using curl or whatever http client) x amount of media segments from that m3u8. By the time the client request those same segments, they are already stored in cache.
On Fri, Mar 23, 2018 at 12:05 AM, Vasanth Mathivanan <[email protected]> wrote: > HI, > > Thanks for your quick response ,I will explain which scenario we need ….Our > live content start with 4 sec m3u8 call then the .ts file stored max 120 > secs ,same configuration specified in hdr _live.config file load cache well > working but When player request came for the last before 3rd .ts file play > in m3u8 every 4sec generate dynamically ,our question how that the last > three .ts file before request to stored in cache ? > > > > Thanks & Regards > > Vasanth M > > > > Sent from Mail for Windows 10 > > > > From: Jeremy Payne > Sent: Thursday, March 22, 2018 10:04 PM > > > To: [email protected] > Subject: Re: Need Some Adjustments in Live Scenarios > > > > Well think about how you would do this using a shell script, combined > with curl, inotify, etc. > Then take the same principles/flows and translate that into lua. > > > > > > > On Thu, Mar 22, 2018 at 9:56 AM, Vasanth Mathivanan > <[email protected]> wrote: >> HI , >> >> Can you explain how we use in hdr live scenarios? In the document so many >> configuration which one can I use ? >> >> >> >> Sent from Mail for Windows 10 >> >> >> >> From: Jeremy Payne >> Sent: Thursday, March 22, 2018 8:20 PM >> To: [email protected] >> Subject: Re: Need Some Adjustments in Live Scenarios >> >> >> >> Perfect use case for the lua plugin. >> >> >> >> On Thu, Mar 22, 2018 at 1:49 AM, Vasanth Mathivanan >> <[email protected]> wrote: >>> HI, >>> >>> We are working HLS live Concept in Traffic server ,when the client >>> request >>> made hit to get the m3u8 file then ts files …My question how get content >>> before request to stored two or three ts files pull from cache. >>> >>> Any Possible this scenarios? >>> >>> >>> >>> Thanks & regards >>> >>> Vasanth M >>> >>> Sent from Mail for Windows 10 >>> >>>
