Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Caching of HLS .m3u8 files problem

$
0
0
Hello, we use IIS 7.5 for Live HLS streaming. HLS consists of two types of files - .m3u8 (the playlist file) and .ts (MPEG TS files). We have video transcoder and IIS on the same Windows server 2008 R2 SP1. The video transcoder takes live video stream on the input and generates HLS files on the output. Each .ts file contains 10 seconds of video. So every time a new .ts file is generated by the transcoder, the .m3u8 playlist file is overwritten with information about the new .ts file. The .m3u8 and .ts files are stored in directory c:\HLS. We have configured IIS Virtual directory with root at c:\HLS. We also have index.html file with a jwplayer video player, so that web clients can play the video. Now the problem - the web clients continuously download the .m3u8 playlist file. And the transcoder overwrites the file every 10 seconds. Inevitably there comes a moment when the file is being overwritten by the transcoder at the same moment, when the web client tries to download the file. In that case the IIS gives error 404 and the web client stops. What are your suggestions? How can we configure IIS or the filesystem so that the web client always gets the .m3u8 file? Cheers, Gatis

Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>