Question / Help Streaming from OBS to OBS

Exigeous

New Member
Is it possible to stream from one OBS client to another OBS client? I've been reading about RTMP but don't understand if that's something OBS can output directly or if I need to setup something like NGIX to make it work.

I'm looking for the easiest solution for the clients that are streaming out to me. The idea is I would read in 4-6 streams, arrange them in OBS then stream that multi-video to Twitch. I'm looking for a solution that would require minimal setup on the clients with most of the work done on the server side.

Is there a way to accomplish this with OBS alone?
 

Fenrir

Forum Admin
No.

You'd need some kind of RTMP server to accept all the incoming streams, and then you can open the streams in OBS through media or vlc source.
 

Exigeous

New Member
Okay, so let me make sure I get the high level details then I can figure it out from there.

- I create a RTMP server with a webserver such as NGIX
- I assign a specific port per stream
- The client computers configure OBS to stream to that IP:Port
- I read the streams locally into OBS using VLC

Is that about right? If so is the config for OBS to stream to me rather than say Twitch something that's easy to setup/find?

Thanks much for the help!
 

Fenrir

Forum Admin
You don't need a specific port per stream, just one for all streams. Stream key will designate the final URL.

Example as follows:

OBS will have:
-Stream URL: rtmp://1.1.1.1/live (actual server IP, of course)
-Stream Key: User1

Playback URL will then be:
rtmp://1.1.1.1/live/User1
 

Exigeous

New Member
Ah, okay cool - that seems easy enough. Last question, at least for now. Where/how do you suggest I start / what would I use on the server side? Something simple like NGINX or a pre-built WAMP stack?
 

Fenrir

Forum Admin
Ah, okay cool - that seems easy enough. Last question, at least for now. Where/how do you suggest I start / what would I use on the server side? Something simple like NGINX or a pre-built WAMP stack?

I personally use nginx-rtmp, and would suggest it as a starting point as you can stay as simple or go as complicated as you like. You can see my config/setup here if you like: https://github.com/Fenrirthviti/stream-site

Look in /src/nginx for my config files.
 

Exigeous

New Member
That's great, thanks again for all the great input - I really appreciate it. As for your setup you shared is there a front-end or other that you could show me that this supports? More details on how you use this?
 

Fenrir

Forum Admin
All the info is on my repo. If you look, you'll see most of the code there is actually the front end, and there are setup directions in the readme.
 
Top