Jump to content

So I am working on setting up an RTMP so my friend can stream to it so I can splice my stream with his. Since I could get nginx to work naturally I am using Docker Toolbox, and its using vm to run the server. I finally got it working to where i can stream to it and add it to my steam and look at it. Do i need to do sone port forwarding to allow  my friend to stream to it and if so how do i port forward a vm?

 

Plan:

He streams to my server

I set up his perspective and mine also

I stream to youtube gaming

he streams to youtube gaming also or i do something to redirect my stream to both channels 

 

All help appreciated…

 

--Edit--

this is not on server equipped builds, like a raspberry pi, It is on the same computer I'm streaming on

--Edit2--

also or to either reduce latency or make compensation for it

Edited by EnderGaming
Link to comment
https://linustechtips.com/topic/685267-i-need-help-with-a-server-streaming/
Share on other sites

Link to post
Share on other sites

1 minute ago, Nertsy said:

I'm you will need to have some way for your friend to push their stream to nginx. Check your nginx configuration to see what port it is set to listen to. This is the port you will need to forward.

 

Port forwarding is pretty simple, but each router has a slightly different process as to how it is done.

 

Check http://setuprouter.com/ or google for your router's documentation on how to port forward. Also be sure to make sure you don't have any other firewalls in the way (ex: ISP uses a CGN, or Windows Firewall). If port forwarding isn't your thing, you could create a tunnel using Hamachi, but this will result in (slightly) higher latency.

I know that but im using a vm to tun it from a program called docker toolbox and the vm default ip is 192.168.99.100, but ny riuter is one that is 10.0.0.xx

Link to post
Share on other sites

1 minute ago, Nertsy said:

I'm going to assume you are using Docker through VirtualBox. By default, Docker runs in a "NAT" network mode and passes the port through to your local machine only. You will have to change the settings of the Docker VM to run in a Bridged network mode, which will simulate all your docker containers being connected directly into you local network.

 

Check out this Stack Overflow question for more info.

Will this work id the computer with docker is bridged to another computer with wireless connection. Also to configure the vm can i just open the software or do i need to do it through the docker command line?

Link to post
Share on other sites

3 minutes ago, Nertsy said:

I dont understand what you're asking. By changing the network settings in virtualbox you choose which network card to bind to (E.g. your Ethernet controller or wifi adapter). 

 

I've only dabbled with Docker before, but there are multiple documented ways to do what you need.

Well ok i was just saying im using a laptop as an adapter

 

but fir vmware do i just open it to configure?

Edited by EnderGaming
Link to post
Share on other sites

2 hours ago, Nertsy said:

I dont understand what you're asking. By changing the network settings in virtualbox you choose which network card to bind to (E.g. your Ethernet controller or wifi adapter). 

 

I've only dabbled with Docker before, but there are multiple documented ways to do what you need.

I set it to bridged and it just sits at waiting for ip

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×