Simple HLS streaming server
python3 needed for running the program
-
Serve single VOD file
python3 server.py testdata/m1-all_Custom.m3u8
-
Serve multiple VOD file (concatenated in the given order)
python3 server.py testdata/m1-all_Custom.m3u8 testdata/m2-all_Custom.m3u8 testdata/m3-all_Custom.m3u8
-
Serve in live streaming mode (looping files in given order)
python3 server.py -l testdata/m1-all_Custom.m3u8 testdata/m2-all_Custom.m3u8 testdata/m3-all_Custom.m3u8
After starting server, the HLS streaming url will be displayed, for example:
Watch stream at: http://192.168.1.127:8000/playlist.m3u8
Run python3 server.py -h
to check all options