Setup your own RTMP Server to Receive and Redistribute Live Streaming Video | VPS and VPN
Web Hosting
Setup your own RTMP Server to Receive and Redistribute Live Streaming Video

Setup your own RTMP Server to Receive and Redistribute Live Streaming Video

With a little help from some free software, you can have your own RTMP server. You can receive video from a remote location, or re-distribute to multiple RTMP destinations. It’s like the Streaming Bridge, but all in software, and all for free.

NGINX Software and Config File –

LiveU Solo RTMP Encoder –
Teradek Vidiu Go –

To integrate into a web server, watch the follow-up video:

You can help support this channel, ensuring more high quality content in the future.

Join this channel to get access to perks:

Sign up for our video production management website:

Back us on Patreon:

As an Amazon Associate I earn from qualifying purchases.

Follow us online!

DJP Website –
Second YouTube Channel –
Email Mailing List –
Social Media Accounts –
Partial Equipment List –
Free Production Tools –
Discord Discussion –


31 thoughts on “Setup your own RTMP Server to Receive and Redistribute Live Streaming Video

  1. Awesome tutorial.. thank you ..i have querry like same network rtmp streaming, but other network i could nt getting rtmp streaming it shows error please let me know how to solve the problem…

  2. I've been searching all over the internet for a formula to figure this out …
    Approximately how many simultaneous viewers can a setup like this accommodate before it starts buffering?

  3. i want to stream smartphone android camera to the nginx in my pc . but not from the same network. how to do that can u help me please ?
    thank you

  4. Hi Doug, great video. Just to clarify would your guide allow me to setup a rtmp server from desktop PC to use with the go pro hero 9 using rtmp so it can re-stream it to OBS which will allow me to receive notifications/alerts when doing IRL streaming on a platform like Twitch?

  5. Hi, I think I have a problem with it, because I can see it for a first time, but if I try to modify the source, or try to change the properties of the source, I lose the signal and I don't get it back for at least half an hour (from the signal I was receiving correctly). I think it's a problem with nginx, my router settings… firewall…. or I don't know what or why.

  6. not sure if i understand what this is being used for. could this be used in scenario where you save movies to server and then use any computer in home to stream from server library?

  7. Thanks very much for a very detail step by step instruction. It helps a lot. I used OBS as the encoder but it crashed when more people try to stream through VLC. It seems it only allows two or three viewers at the same time. Also, VLC just keeps running without picture for the late comes. Is it possible to change the config. file and allow more viewers? Your advice is appreciated.

  8. This is perfect Doug ! It allows me to broadcast the camera from my iPhone over the mobile network using Larix Broadcaster to my PC at home running the nginx server. I have an app that can connect locally to the nginx server to recieve the stream, using an rtmp://… URL
    Is it possible to do this but for the nginx server to output the stream using rtsp://… The problem I'm having with rtmp is that if the stream fails, the app crashes, however with rtsp, if the stream fails the app never crashes. Thanks again for a great tutorial

  9. Hi Thanks for this fantastic tutorial was able to set up my .ASX file which now streams my OBS stream. Could you advise me if it is now possable to place that stream in my web page ? Thanks Stewart.

  10. Thank you very much for your effort and great explanation, but in fact I have two questions
    Hello, welcome. I have a live match streaming website and I have ubuntu 18.4 CPU 8 ram 32320 SSD, but when it is used on the site the number of simultaneous internet callers is no more than 1000.
    But I want more traffic to my site
    The broadcast is interrupted when I reach 1000 viewers online at one time, but have more than that number at one time and exceed 10,000 viewers at one time?
    First of all, do I have to do loadbalance and can I do it this way? Is there an explanation to describe this method and how it works?
    Second, what is installed on the backend servers, and what are its steps?
    For your information, I implement this method and it works with me very seriously. I want to know what will be installed on the back-end servers and how this is done if it is available. But if there is a method that is stronger and better than this method, if I want you to guide me to it and explain it fully,

  11. FFMPEG1.Exited


    [rtmp @ 051f9260] Cannot open connection tcp://

    rtmp:// Unknown error

    Report written to "C:ProgramDatavMixstreamingstreaming1 20210218-213730.log"

    ffmpeg version 2.8.git Copyright (c) 2000-2015 the FFmpeg developers

    built with gcc 4.8.1 (rev2, Built by MinGW-W64 project)

    configuration: –enable-gpl –enable-version3 –enable-libx264 –enable-zlib –enable-libfaac –enable-nonfree –cpu=i686 –enable-nvenc

    libavutil 55. 2.100 / 55. 2.100

    libavcodec 57. 3.100 / 57. 3.100

    libavformat 57. 2.100 / 57. 2.100

    libavdevice 57. 0.100 / 57. 0.100

    libavfilter 6. 9.100 / 6. 9.100

    libswscale 4. 0.100 / 4. 0.100

    libswresample 2. 0.100 / 2. 0.100

    libpostproc 54. 0.100 / 54. 0.100

    Guessed Channel Layout for Input Stream #0.1 : stereo

    Input #0, dshow, from 'video=vMix Video YV12:audio=vMix Audio':

    Duration: N/A, start: 11220.667000, bitrate: 1536 kb/s

    Stream #0:0: Video: rawvideo (YV12 / 0x32315659), yuv420p, 854×480, 25 tbr, 10000k tbn, 25 tbc

    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s

    [tcp @ 051f9700] TCP Buffer has been set to 2740224 bytes

    [rtmp @ 051f9260] Cannot open connection tcp://

    rtmp:// Unknown error

Leave a Reply

Your email address will not be published. Required fields are marked *