Public Repository

Last pushed: a year ago
Short Description
Lightweight nginx + rtmp module for replicating streams
Full Description

nginx-rtmp-docker

Lightweight nginx + rtmp module for replicating streams

Usage

docker run -dp 1935:1935 dvdgiessen/nginx-rtmp-docker

If you want to use a custom nginx.conf file, create a volume mapping:

docker run -dp 1935:1935 -v /path/to/my/custom/nginx.conf:/etc/nginx/nginx.conf dvdgiessen/nginx-rtmp-docker

Troubleshooting

If you encounter an error like this:

[alert] could not open error log file: open() "/var/log/nginx/access.log" failed (13: Permission denied)

Then you are most likely running an outdated version of Docker. See the Docker documentation on how to get the latest version.

More info

GitHub: https://github.com/DvdGiessen/nginx-rtmp-docker

Based on setup described on the OBS forums here.

Docker Pull Command
Owner
dvdgiessen

Comments (3)
eaglejs
2 months ago

In response to the comment below, I got it working, the issue was that I think I had the bitrate up too high. The server was running. I ended up port forwarding my 1935 port and now It works through the internet, I tested it from Virginia to Texas and it works great! thanks! :)

eaglejs
2 months ago

I've been trying to hit this rtmp server, and I haven't been able to. I assume I try hitting it with OBS using my local ip like this.

<local ip>:1935/live
stream-key: test

This yeilded no results. :(

longdt
7 months ago

i use your Dockerfile to build image, but my built image size is pretty large 177.5Mb. How can you build docker image so small like this (11.21Mb)? Can you help me