Skip to content

TakuSemba/docker-nginx-rtmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Nginx RTMP

This Dockerfile uses nginx-rtmp-module. Server receives RTMP streams and publish HLS. Note that this publishes only one resolution on HLS.

How to use

0. clone the repo

git clone [email protected]:TakuSemba/docker-nginx-rtmp.git
cd docker-nginx-rtmp

1. Build the Dockerfile

docker build -t nginx_rtmp .

2. run the Container

docker run -t -i -p 1935:1935 -p 80:80 --rm nginx_rtmp

3. send RTMP stream from client

send stream to rtmp://ip-address:1935/live/stream_name. you can also receive RTMP stream with the same url.

4. play hls

media playlist is http://ip-address/hls/stream_name.m3u8

About

docker file for RTMP on nginx

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages