https://github.com/takusemba/docker-nginx-rtmp
docker file for RTMP on nginx
https://github.com/takusemba/docker-nginx-rtmp
docker nginx rtmp
Last synced: about 1 month ago
JSON representation
docker file for RTMP on nginx
- Host: GitHub
- URL: https://github.com/takusemba/docker-nginx-rtmp
- Owner: TakuSemba
- Created: 2018-02-03T05:09:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T22:19:12.000Z (over 7 years ago)
- Last Synced: 2025-04-01T14:14:44.551Z (about 2 months ago)
- Topics: docker, nginx, rtmp
- Language: XSLT
- Size: 9.77 KB
- Stars: 50
- Watchers: 2
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```sh
docker build -t nginx_rtmp .
```#### 2. run the Container
```sh
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`