Ben Wiklund 0ffc3cb1b3 invalid env format
i'm not sure if i'm on an old docker version or not, but i had to fix this line to get it to build. feel free to disregard if it's just my docker being old
2016-04-01 15:43:51 -07:00
2015-03-09 17:40:56 -03:00
2016-04-01 15:43:51 -07:00
2015-03-10 17:36:56 -03:00

NGINX RTMP Dockerfile

This Dockerfile installs NGINX configured with nginx-rtmp-module, ffmpeg and some default settings for HLS live streaming.

Note: in the current state, this is just an experimental project to play with RTMP and HLS.

How to user

  1. Build and run the container (docker build -t nginx_rtmp . & docker run -p 1935:1935 -p 8080:80 --rm nginx_rtmp).

  2. Stream your live content to rtmp://localhost:1935/encoder/stream_name where stream_name is the name of your stream.

  3. In Safari, VLC or any HLS compatible browser / player, open http://localhost:8080/hls/stream_name.m3u8. Note that the first time, it might take a few (10-15) seconds before the stream works. This is because when you start streaming to the server, it needs to generate the first segments and the related playlists.

S
Description
NGINX server with rtmp module for HLS live streaming
Readme 40 KiB
Languages
XSLT 90.1%
Dockerfile 9.9%