RTMP live server. Play with RTMP, HTTP-FLV, HLS, and DASH.
docker run -d --name rtmp -p 1935:1935 -p 8080:8080 penndev/rtmp:latest -user admin -pass 123456
-user and -pass follow the image name. Omit them and publishing is not checked. Playback is not checked either way, and the query is not part of the stream name.
1935 is RTMP. 8080 is HTTP. Open http://127.0.0.1:8080/. The page lists live streams. FLV, TS, and fMP4 files are written to /app/runtime.
Publishing to rtmp://127.0.0.1:1935/live/room?user=admin&pass=123456 gives:
http://127.0.0.1:8080/live-room.flvhttp://127.0.0.1:8080/live-room.m3u8http://127.0.0.1:8080/live-room.mpdffmpeg -re -i in.mp4 -c:v libx264 -c:a aac -f flv "rtmp://127.0.0.1:1935/live/room?user=admin&pass=123456"
OBS Studio: Settings → Stream, server rtmp://127.0.0.1:1935/live/, stream key room?user=admin&pass=123456. Without -user, the stream key is room.
ffplay http://127.0.0.1:8080/live-room.m3u8
ffplay http://127.0.0.1:8080/live-room.mpd
ffplay http://127.0.0.1:8080/live-room.flv
ffplay rtmp://127.0.0.1:1935/live/room
HLS appears after a TS segment exists, and DASH appears after an fMP4 segment exists. H.263 stays FLV only.
avc1), H.265 (hvc1)docker pull penndev/rtmp:latest