Question / Help Broadcast to multiple servers at the same time [SOLVED]

Tormy

Member
MY NEEDS
I wanted to stream, at the same time teh same streaming, to multiple servers I do use:
  • FB Profile
  • FB Page
  • FB some Groups
  • YpuTUBE
  • Dailymotion

But OBS streams to an only one server.

CONCERING
I was ready to ask this feature today, but I was seriously concerned do not receive any answer, as it occurred with SkyPe issue, the improvment using an advanced video card with GPU and the rerouting of the Monitor (Audio Monitoring) channel!

SOLUTION
Luckily I did find a free solution, that doesn’t rely on a 3 party server but can be implemented on your PC.

I downloaded NGINX compiled with RTMP library. the version I’m using, ready for Windows is here
https://github.com/illuspas/nginx-rtmp-win32

In the conf file, I commented all the HTTP protocol lines ... and Inused just the few lines reserved to RTMP

Then I setup OBS to stream to http://localhost:1935/live (atandard for everybody)
As PWD I used anythyng ... it doesn’t not matter

And I was able to stream at the same time to all my channels, pages, groups.

I do hope this will help anybody has the same requirements/needs


NGINGX CONFIGURATION FILE EXAMPLE
File:
Code:
<NGINX_ROOT>/conf/nginx.conf
This is the only one part of the Config File, that I didn't commented, and I use for the streaming:

Code:
worker_processes  1;

error_log  logs/error.log debug;

events {
    worker_connections  1024;
}

rtmp {
    server {
        listen 1935;

        application live {
            live on;
            sync 300ms;
            meta on;
            
            #Profile TORMY
            push rtmp://live-api.facebook.com:80/rtmp/<PUT_HERE_THE_STREAMING_KEY_GIVEN_BY_FB>;
            
            #Page TORMY
            push rtmp://live-api.facebook.com:80/rtmp/<PUT_HERE_THE_STREAMING_KEY_GIVEN_BY_FB>;
            
            #El Rock Total FB Group
            push rtmp://live-api.facebook.com:80/rtmp/<PUT_HERE_THE_STREAMING_KEY_GIVEN_BY_FB>;

            # YOUTUBE
            push rtmp://a.rtmp.youtube.com/live2/<PUT_HERE_THE_STREAMING_KEY_GIVEN_BY_YT>;
        }
        
        application hls {
            live on;
            hls on; 
            hls_path temp/hls; 
            hls_fragment 8s; 
        }
    }
}


OBS STUDIO SETUP
In the "Stream key" field: put anything you want. It's not used
upload_2018-2-12_8-22-35.png
 
Last edited:

AthoSzHD

New Member
can you tell me what should I do ? im not proficient in these config changes. where can i do that how?

Thank you!
 
Top