RTMP NGINX Server

10 months ago

I am trying to deploy an RTMP NGINX server but through OBS it is not connecting to the server.

  • I deployed the server via docker-compose and exposed it via the correct rtmp port.

  • I then generated a domain and pointed it to port 1935.

  • locally I'm able to connect to rtmp://localhost:1935 via OBS but when I enter the generated domain which is pointed to port 1935 it did not work.

1 Replies

10 months ago

I deployed the server via docker-compose

Railway does not support docker-compose, so I'm curious as to what you mean here.

I then generated a domain and pointed it to port 1935.

Those domains can only be used for HTTPS traffic, RTMP is a TCP-based protocol, so you would need to use the TCP proxy instead of public domains.

locally I'm able to connect to rtmp://localhost:1935 via OBS but when I enter the generated domain which is pointed to port 1935 it did not work.

Once you are using the correct public networking (TCP Proxy) you would end up with an address something along the lines of rtmp://roundhouse.proxy.rlwy.net:29838


RTMP NGINX Server - Railway Help Station