Proxy add-on for RTMPMiniServer

Michael Garanin
Sep 12, 2019 · 3 min read

Like most servers, the RTMPMiniServer requires a dedicated IP address. It is a significant thing, because this way, encoders with locations, such as vMix or Teradek VidiU, can connect to the RTMPMiniServer in the studio via the Internet. As a rule, most studios are equipped with cable Internet, and providers can give a dedicated IP without any difficulties. The main problem arises, if the studio, especially the mobile one, is connected to the Internet via a 4G / LTE connection. In this case, it is practically impossible to get a dedicated IP.

That is why, to the new RTMPMiniServer 1.6 release, we have added a proxy mode that allows you to send a signal to the studio without a dedicated IP address, and without manipulations with the studio router.

In this mode, all the traffic goes through a special server (Proxy Server), located on the Internet. We provide several of these servers for all our clients, but if you wish, you can also use your own one (the instructions are attached below).

ADVANTAGES:
- no need to have a dedicated IP

- no need to configure your studio router

- easy to use

- the proxy server can be positioned closer to the location (see below about the “First mile” problem)

DISADVANTAGES:
- on the path “Encoder → Studio” the ProxyServer appears, and all the traffic goes through it.

“First Mile” Problem

Let’s say your studio has the wired Internet, and a dedicated IP. Can you still use the proxy mode somehow? Yes, in some cases. There are situations, when you need to put an unstable signal to a good Internet channel as quickly as possible, and the proxy server will help you with this.

Consider the case, when your studio is in America, and you need to get a signal from operators, located in Asia (for example, there is a business training). The operators can only use the mobile Internet.

There are two variants.

Variant one (standard): your operators send the signal directly to the studio. But such a long TCP connection over indistinct routes can be very unstable, especially when encoders use the mobile Internet.

direct connection may be unstable on long distance

Variant two (proxy): your operators send a signal to the nearest proxy server, which is located on a platform with a good international Internet channel.

proxy-mode allows add stability for long distance

In this way, instead of one long connection, there are 2 small, and the segment of unstable communication is reduced. So, we get a more stable connection.

You can always rent a server in the desired region, for example, in the same Amazon AWS. Moreover, many hosting providers allow hourly payment for the server, so, you can once get a proxy server and use it only when necessary.

You can download RTMPMiniServer and test it for free.

DOWNLOAD RTMPMiniServer

HOW TO: Use Proxy Addon

HOW TO: Custom Proxy Server

GaraninApps

More From Medium

More on Live Streaming from GaraninApps

More on Live Streaming from GaraninApps

SecondStream: for what and for whom

Also tagged Video Streaming Server

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade