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).

Image for post
Image for post

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.

Image for post
Image for post
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.

Image for post
Image for post
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.

HOW TO:

HOW TO:

GaraninApps

GaraninApps Blog

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface.

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox.

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store