hi, i also have an HLS live setup.
what do your header rewrite parameter files look like ?
I use header rewrite with the following parameters.
Note: this is for a particular HLS source where the playlist has
#EXT-X-TARGETDURATION:4
and there are 15 segments in the playlist (4 seconds each) , so
Cache-Control max-age is set to expire the playlist and segments
accordingly.
cond %{READ_RESPONSE_HDR_HOOK} [AND]
cond %{PATH} /\.m3u8/
cond %{STATUS} >199 [AND]
cond %{STATUS} <400
rm-header Pragma
rm-header Expires
set-header Cache-Control "max-age=4, public"
cond %{READ_RESPONSE_HDR_HOOK} [AND]
cond %{PATH} /\.ts/
cond %{STATUS} >199 [AND]
cond %{STATUS} <400
rm-header Pragma
rm-header Expires
set-header Cache-Control "max-age=60, public"
Vasanth Mathivanan wrote
> HI,
>
> I writing on Remap rules on edge1 server and Storing cache on /dev/tmpfs
> cache.db when call I my client url “.m3u8” running a video but particular
> time it will stopped. And cache also stopped and Live also stopped ……And I
> header rewrite rules are written in DS …And hit will call continuously
> “.m3u8”
>
> map http://edge1.live.ivzapp.com/
> http://streams1.evolutiondigital.com/ @plugin=header_rewrite.so
> @pparam=dscp/set_dscp_40.config @plugin=header_rewrite.so
> @pparam=hdr_rw_live.config
> @plugin=cache_range_requests.so@plugin=cache_range_requests.so
>
>
> Thanks & Regards
>
> Vasanth M
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
--
Sent from: http://apache-traffic-server.24303.n7.nabble.com/