Dockerfile with minimal install of NGINX and nginx-rtmp-module built on Alpine Linux.
- NGINX - 1.19.3 Latest release
- nginx-rtmp-module - 1.2.1 Latest release
- Pull docker image and run
docker pull maquinas07/alpine-nginx-rtmp
docker run -p 1935:1935 --rm maquinas07/alpine-nginx-rtmp
- Service:
Custom...
- Server:
rtmp://localhost:1935/stream
- Stream Key:
whatever
(can be empty)
For low latency reproduction you can use FFplay:
ffplay -fflags nobuffer rtmp://localhost:1935/stream/whatever
If the Stream Key is empty then just delete the last path of the URL (I.E. rtmp://localhost:1935/stream
)
VLC can also stream RTMP, just add the URL as network media.
Check out alfg/docker-nginx-rtmp