Dockerfile for building lightweight nginx + rtmp module for replicating streams
docker run -dp 1935:1935 dvdgiessen/nginx-rtmp-dockerSet 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. Replacelocalhostwith the IP of where the server is running. - Stream key:
my-stream-key. This can be anything you want.
Using VLC:
- Go to Media > Open Network Stream.
- Enter the following URL:
rtmp://localhost:1935/live/my-stream-key. Replacelocalhostwith the IP of where the server is running, andmy-stream-keywith the stream key you used when setting up the stream. - Click Play.
Docker Hub: https://hub.docker.com/r/dvdgiessen/nginx-rtmp-docker/