Skip to content

Files

Latest commit

author
Döll, Sebastian
Sep 20, 2017
752c7c0 · Sep 20, 2017

History

History
44 lines (28 loc) · 1.34 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.34 KB

Docker Stars Docker Pulls

nginx live

Nginx + Nginx-RTMP

use

You can run the Nginx by executing the following command.

it is highly advised to run the container on the host net for performance

docker run --rm --network host --cap-add SYS_ADMIN  -d pixelmilk/live:1.3.5-0.0.2

There is an amazing example, which many seem to use, the Big Bunny to test your setup. E.g.

ffmpeg -loglevel verbose -re -i ~/big_buck_bunny_720p_h264.mov -vcodec libx264 \ 
    -vprofile baseline -acodec libmp3lame -ar 44100 -ac 1 \
    -f flv rtmp://localhost:1935/feed/live

So there is the feed endpoint at port 1935 which is an RTMP target. By default http://localhost/hls and http://localhost/dash provide you with multiple streams for HLS and MPEG-Dash.

The mount path for feeds is /var/media.

build

./build.sh

push

./push.sh

License

MIT