- Docker
- brew cask install docker
- OBS
- brew cask install obs
- Streaming config
- server url: rtmp://127.0.0.1/show
- stream key: hkoscon
- stream link: http://localhost:8080/hls/hkoscon.m3u8
- Ngrok (Optional)
- Allow public network access your localhost stream
cd <project directory>
yarn install
docker build -t nginx-rtmp-2-hls .
docker run -d -p 1935:1935 -p 8080:8080 --name nginx-rtmp-2-hls nginx-rtmp-2-hls
- Config and start your stream with OBS
python -m SimpleHTTPServer
- Open the Video.js player in http://localhost:8000
- ngrok http 8080
- Remove the local stream in index.html
- Update the ngrok stream in index.html
- Push the changes to Github
- Open your player on Github page