Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DvdGiessen/nginx-rtmp-docker
Dockerfile for building lightweight nginx + rtmp module for replicating streams
https://github.com/DvdGiessen/nginx-rtmp-docker
Last synced: 2 months ago
JSON representation
Dockerfile for building lightweight nginx + rtmp module for replicating streams
- Host: GitHub
- URL: https://github.com/DvdGiessen/nginx-rtmp-docker
- Owner: DvdGiessen
- Created: 2016-06-18T21:04:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T16:23:54.000Z (almost 6 years ago)
- Last Synced: 2024-07-31T15:05:44.227Z (5 months ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 102
- Watchers: 11
- Forks: 38
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nginx-rtmp-docker
**Dockerfile for building lightweight nginx + rtmp module for replicating streams**![docker pulls](https://img.shields.io/docker/pulls/dvdgiessen/nginx-rtmp-docker.svg)
![docker image size](https://img.shields.io/microbadger/image-size/dvdgiessen/nginx-rtmp-docker.svg)## Usage
### How to run the server
```sh
docker run -dp 1935:1935 dvdgiessen/nginx-rtmp-docker
```### How to stream to the server
Set OBS up with the following settings:
* Go to Settings > Stream.
* Fill out the following settings:
* Stream Type: Custom Streaming Server.
* URL: `rtmp://localhost:1935/live`. Replace `localhost` with the IP
of where the server is running.
* Stream key: `my-stream-key`. This can be anything you want.### How to view the stream
Using VLC:
* Go to Media > Open Network Stream.
* Enter the following URL: `rtmp://localhost:1935/live/my-stream-key`.
Replace `localhost` with the IP of where the server is running, and
`my-stream-key` with the stream key you used when setting up the stream.
* Click Play.## More info
Docker Hub: https://hub.docker.com/r/dvdgiessen/nginx-rtmp-docker/