This Dockerfile uses nginx-rtmp-module
. Server receives RTMP streams and publish HLS.
Note that this publishes only one resolution on HLS.
git clone git@github.com:TakuSemba/docker-nginx-rtmp.git
cd docker-nginx-rtmp
docker build -t nginx_rtmp .
docker run -t -i -p 1935:1935 -p 80:80 --rm nginx_rtmp
send stream to rtmp://ip-address:1935/live/stream_name
.
you can also receive RTMP stream with the same url.
media playlist is http://ip-address/hls/stream_name.m3u8