Dockerfile for building lightweight nginx + rtmp module for replicating streams
How to run the server
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.
localhostwith the IP of where the server is running.
- Stream key:
my-stream-key. This can be anything you want.
How to view the stream
- Go to Media > Open Network Stream.
- Enter the following URL:
localhostwith the IP of where the server is running, and
my-stream-keywith the stream key you used when setting up the stream.
- Click Play.