Giang Nam Posted March 8, 2019 Share Posted March 8, 2019 Hi there, If I'm serving the HLS stream from Ant Media Server through a CDN, is it gonna cached the stream or all requests are routed to the origin Ant Server? How can I decide how long the segments can be cached within the CDN without going back to the origin server? Thanks Link to comment Share on other sites More sharing options...
0 Selim Emre Posted March 9, 2019 Share Posted March 9, 2019 Hi giang, Thank you for the great question. There are 2 things to watch out for. 1- Ant Media Server HLS file expire & cache system is in below. -.TS extension expire time is 10 seconds and TS files are created once with stream ids. - .M3UA extension expire time is 2 seconds and this file is always updated. 2- CDN file expire and cache system. You need to have CDN for HLS live streaming. General configuration of CDN for HLS streaming is likely ok. Just keep in mind the Ant Media Server HLS Files expire time values mentioned above. I hope that I was able to answer your queries. If you have any question, please feel free to let us know. Thank you. Best Regards, Selim Link to comment Share on other sites More sharing options...
Question
Giang Nam
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Mar 8
1
Mar 9
1
Top Posters For This Question
Selim Emre 1 post
Giang Nam 1 post
Popular Days
Mar 8 2019
1 post
Mar 9 2019
1 post
1 answer to this question
Recommended Posts