This is a compiled NGINX with the RTMP module as docker image.
It allows you to listen to a specific port (1935) and provide restream abilities.
The NGINX server also restreams the incoming stream within an application.
So you have the possibility to watch the stream on your own with VLC or any other application which supports RTMP streams.
The url: rtmp://host/<applicationName>
| Application name | URL |
|---|---|
| live (from example nginx config) | rtmp://localhost:1935/live |
You only need to set the value of the custom RTMP server to the URL of the stream which is described here.
Finding the right stream server from Twitch:
Check out this site!
Add the following configuration line:
push rtmp://TWITCH_STREAM_SERVER/app/STREAM_KEY;
You can use the Makefile which contains the command the run the docker image creation.
make make-image
Then run the command from the command line:
docker run --name RTMPServer -it -p 1935:1935 -p 8080:8080 yfricke/rtmpserver:latest
If you dont want to watch the process all the time you can also detach from the run process with the following command:
docker run --name RTMPServer -d -p 1935:1935 -p 8080:8080 yfricke/rtmpserver:latest
docker-compose support is also provided.
docker-compose build
Then run the command from the command line:
docker-compose up
If you dont want to watch the process all the time you can also detach from the starting process with the following command:
docker-compose up -d
Content type
Image
Digest
Size
200.8 MB
Last updated
about 7 years ago
docker pull yfricke/rtmpserver