Free live streaming with Free-HLS (Free HLS 直播姬)
AGPL-3.0 License
Free live streaming with Free-HLS.
Read this in other languages: English | 简体中文
This project is for learning and communication purposes only, and we are not responsible for any losses caused to you or others during use.
git clone https://github.com/sxzz/free-hls-live.git
cd free-hls-live
yarn install
First, you need to write an Uploader by yourself, see sxyazi/free-hls#19
Because the m3u8 file is constantly changing, it cannot be implemented with the image bed
You need to have a service that can store files and can be accessed by the public network, such as servers, Aliyun OSS, TencentCloud COS, etc. And you need to configure CORS cross-domain. The m3u8 file is generally small and cost less.
Copy config.example.yml
to config.yml
# config-path: configuration file path
# [steaming-folder]: the path of the live video directory.
# [uploader-name]: uploader file path
yarn start [steaming-folder] -c <config-path> [-u uploader-name]
Use the web player public/player.html
to play