Jump to content
SpencerJ

How to Set Up a Multi-Streaming Server with Unraid

19 posts in this topic Last Reply

Recommended Posts

So does this take the encoding work off your main PC or does this just act as a pass through streaming server so you can hit multiple streaming sites at once? Stupid question as I believe it does not, but wanted to be sure. 

Share this post


Link to post
21 hours ago, dcnative1012 said:

So does this take the encoding work off your main PC or does this just act as a pass through streaming server so you can hit multiple streaming sites at once? Stupid question as I believe it does not, but wanted to be sure. 

Assuming your Unraid server is not the same as your gaming PC, the load would be removed. 

Share this post


Link to post

Just tested really nice 

 

A quick question

 

Did you test audio also ? 

 

Did experience people not able to ear me maybe its just my setup

 

Thx a lot

Share this post


Link to post
12 hours ago, francrouge said:

Just tested really nice 

 

A quick question

 

Did you test audio also ? 

 

Did experience people not able to ear me maybe its just my setup

 

Thx a lot

Yup audio worked for me.  Only thing I can think of is, to double check your audio capture settings, which I'm sure you have done.

Share this post


Link to post

what if you have more than one pc to stream? as in two gamers streaming at the same time. would you need to duplicate the container after setup and point each individually or can you have both stream to the same container?

Share this post


Link to post

Is there a place where I can get help with the troubleshooting, or should I just don it here?

 

Share this post


Link to post

I found my issue.

The blog post said:

user nginx;
worker_processes auto;
rtmp_auto_push on;
events {}
rtmp {
	server {
		listen [::]:1935;
		chunk_size 4096;
		application live {
			live on;
			record off;
			push 'rtmp://live-atl.twitch.tv/app/<yourTwitchStreamKey>';
		}
	}
}

But the picture had this:

user nginx;
worker_processes auto;
rtmp_auto_push on;
events {}
rtmp {
	server {
		listen [::]:1935;
#		ipv6only=off;
		chunk_size 4096;
		application live {
			live on;
			record off;
			push 'rtmp://live-atl.twitch.tv/app/<yourTwitchStreamKey>';
		}
	}
}

So I had to add this line:

#        ipv6only=off;

before it worked.

I don't know if anyone else had the same issue. But this was how I solved it at least.

Share this post


Link to post
7 hours ago, Nanobug said:

I found my issue.

The blog post said:


user nginx;
worker_processes auto;
rtmp_auto_push on;
events {}
rtmp {
	server {
		listen [::]:1935;
		chunk_size 4096;
		application live {
			live on;
			record off;
			push 'rtmp://live-atl.twitch.tv/app/<yourTwitchStreamKey>';
		}
	}
}

But the picture had this:


user nginx;
worker_processes auto;
rtmp_auto_push on;
events {}
rtmp {
	server {
		listen [::]:1935;
#		ipv6only=off;
		chunk_size 4096;
		application live {
			live on;
			record off;
			push 'rtmp://live-atl.twitch.tv/app/<yourTwitchStreamKey>';
		}
	}
}

So I had to add this line:

#        ipv6only=off;

before it worked.

I don't know if anyone else had the same issue. But this was how I solved it at least.

That should have made no difference as lines starting with # are comments.   Still if it worked for you .... :)

Share this post


Link to post
3 hours ago, itimpi said:

That should have made no difference as lines starting with # are comments.   Still if it worked for you .... :)

I agree. It makes no sense, but that's how I got it to work.

Share this post


Link to post
On 4/29/2020 at 4:39 PM, MDHMatt said:

what if you have more than one pc to stream? as in two gamers streaming at the same time. would you need to duplicate the container after setup and point each individually or can you have both stream to the same container?

You could duplicate the container but you would most likely have to change the ports.  I have a feeling if you stream to the same container things are not going to work.

 

Client 1 and Container 1: port 1935

Client 2 and Container 2: port 1936

 

That should work in my mind but this is not something I have tested.

 

Something I am planning to do or work on is figure out how to get two computers to stream to the server and then to twitch.   Both computers would basically be like in split screen.  However, it seems the best way to do this is use OBS with NDI on the server.  Then within the canvas just make sure both computers have equal space.  I'd like do this with a container instead of a VM but it is proving rather difficult.

Share this post


Link to post
Posted (edited)
On 5/9/2020 at 5:44 PM, Nanobug said:

I agree. It makes no sense, but that's how I got it to work.

@itimpi is right, the # is to comment that line out and it shoudn't have been read by the container.  If you copy and pasted there could have been a hidden character that was breaking things.  But if you added that line in and it worked then that makes things super bizarre.  Anyway.  Glad you got it working.

Edited by spx404

Share this post


Link to post
Just now, spx404 said:

@itimpi is right, the # is to comment that line out and it shoudn't have been read by the container.  If you copy and pasted there could have been a hidden character that was breaking things.  But if you added that line in and it worked then that makes things super bizarre.  Anyway.  Glad you got it working.

If there was a hidden character, and it worked after after adding the comment line, shouldn't the result have been the same then?

 

 

 

Another thing, and this is probably on me.
Can you make it stream to a remote server?
For example:
Can my brother send the transcoding work to my server over the internet?
I tried port forwarding it, but I wasn't successful with it. I'm not sure how to make it work exactly.

Any ideas?

Share this post


Link to post
5 hours ago, Nanobug said:

If there was a hidden character, and it worked after after adding the comment line, shouldn't the result have been the same then?

 

 

 

Another thing, and this is probably on me.
Can you make it stream to a remote server?
For example:
Can my brother send the transcoding work to my server over the internet?
I tried port forwarding it, but I wasn't successful with it. I'm not sure how to make it work exactly.

Any ideas?

Yeah that's what I mean, super bizarre. lol

 

-Probably

-To be clear, this docker does not do any transcoding, your gaming rig will do all the transcoding work.  This setup simply allows you to stream to multiple places at once.

-When you port forward, your brother used your public IP:port to reach your server?

-He could VPN into your network as an alternative to exposing your system to the internet.

Share this post


Link to post
12 hours ago, spx404 said:

Yeah that's what I mean, super bizarre. lol

 

-Probably

-To be clear, this docker does not do any transcoding, your gaming rig will do all the transcoding work.  This setup simply allows you to stream to multiple places at once.

-When you port forward, your brother used your public IP:port to reach your server?

-He could VPN into your network as an alternative to exposing your system to the internet.

So.. The server does not do the transcoding work? It only distributes it to multiple platforms?

Share this post


Link to post
Posted (edited)

@Nanobug

 

The server does not do any encoding/transcoding/decoding work.  It simply takes a single RTMP stream and distributes that stream to multiple platforms of your choosing.

 

Fear not.  I am actively working on an OBS-Server container to take a stream from your gaming computer and encode/transcode/decode the stream, then send it off to twitch.  But it is proving rather difficult due to my lack of understanding Docker and poor documentation.  Stay tuned.

Edited by spx404

Share this post


Link to post
3 hours ago, spx404 said:

@Nanobug

 

The server does not do any encoding/transcoding/decoding work.  It simply takes a single RTMP stream and distributes that stream to multiple platforms of your choosing.

 

Fear not.  I am actively working on an OBS-Server container to take a stream from your gaming computer and encode/transcode/decode the stream, then send it off to twitch.  But it is proving rather difficult due to my lack of understanding Docker and poor documentation.  Stay tuned.

That sounds really good! How can I hear about it when there's news about it?

Share this post


Link to post

@Nanobug

 

Well if I remember I can just let you know here.  Also, I started working late last night.  I have no idea how long it will take me to complete.  But if you don't hear from me in like a month, I either died, gave up, or forgot.  Sooooooooooo oops.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.