1. Download nginx-1.5.10 for Windows
2. Create a new subdirectory: Nginx-1.5.10\html\hls, copy the generated m3u8 and sliced TS files or directories into the HLS directory
3. Modify the configuration file Nginx-1.5.10\conf\mime.types, add the following three lines:
In Application/zip zip, add 2 lines after this line:
Application/x-mpegurl m3u8;
Application/vnd.apple.mpegurl m3u8;
After Video/x-msvideo avi; line, add 1 lines:
VIDEO/MP2T ts;
4. Open task to manage it, kill Ngnix.exe, restart Ngnix.exe
5. Open VLC Player, "open network Stream" menu, enter url:http://192.168.1.100/hls/playlist.m3u8
You can test the playback, on your ipad, it is also playable, simple!!
Postscript:
To modify the conf\ngnix.conf settings directory alias:
location/media/{
Alias D:/rtspserver/bin/media;
}
This allows http://192.168.1.100/media/xxx.m3u8 access to the files in the directory D:/rtspserver/bin/media
Windows Next minute configuration Ngnix implement HLS m3u8 on demand