Docker-nginx-rtmp/README.md

35 lines
817 B
Markdown
Raw Normal View History

2016-02-15 15:04:44 +00:00
# Docker-nginx-rtmp
Docker image for an RTMP server running on nginx
NGINX Version 1.9.11
nginx-rtmp-module Version 1.1.7
### Configurations
This image exposes port 1935 for RTMP Steams and has 2 channels open "live" and "testing".
The configuration file is in /opt/nginx/conf/
### Running
To run the container and bind the port 1935 to the host machine; run the following:
```
docker run -p 1935:1935 jasonrivers/Docker-nginx-rtmp
```
### OBS Configuration
Under broadcast settigns, set the follwing parameters:
```
Streaming Service: Custom
Server: rtmp://<your server ip>/live
2016-02-15 15:07:07 +00:00
Play Path/Stream Key: mystream
2016-02-15 15:04:44 +00:00
```
### Watching the steam
In your favorite RTMP video player connect to the stream using the URL:
2016-02-15 15:07:07 +00:00
rtmp://&lt;your server ip&gt;/live/mystream
2016-02-15 15:04:44 +00:00
### Tested players
* VLC
* omxplayer (Raspberry Pi)