logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MartLeib  
#1 Posted : Wednesday, June 13, 2018 2:50:35 AM(UTC)
MartLeib

Rank: Advanced Member

Groups: Registered
Joined: 2/23/2017(UTC)
Posts: 189
Estonia

Thanks: 1 times
Was thanked: 52 time(s) in 42 post(s)
Since now we can control all 3 streams independently, wouldn't it be cool if we could assign certain NIC to the stream number?

But why, you might ask?

Simple. Most of the streaming platforms have primary and backup RTMP URL. If first fails, stream will not fail for users, but backup will be used. So the use case would be following (lets take Youtube for example)

Stream 1:
rtmp://a.rtmp.youtube.com/live2
NIC #1 - venue network connection

Stream 2:
rtmp://b.rtmp.youtube.com/live2?backup=1
NIC #2 - our own 4G network / separate network connection

If venue network fails for some reason (for example power outage), our stream would not fail for users, since we have independent power supply.

And yes, true backup would be second PC which streams to backup URL from backup network.

In light of thread https://forums.vmix.com/...aspx?g=posts&t=15942 NIC selection should also be available for web controller.


This will also let us use two connections on the single machine, for example vMix uses only NIC #1 for streaming, but our other network needs (stats, recorded content download/upload, live monitoring etc) will be taken care of NIC #2.
mavik  
#2 Posted : Wednesday, June 13, 2018 4:13:33 AM(UTC)
mavik

Rank: Advanced Member

Groups: Registered
Joined: 4/23/2017(UTC)
Posts: 1,142
Man
Location: Germany

Thanks: 3 times
Was thanked: 166 time(s) in 148 post(s)
Both youtube servers will have different IPs. You can add a route that traffic for IP #1 travels NIC1 and traffic for IP #2 travels NIC2. That is very basic stuff. cmd: route add 188.144.0.0 mask 255.255.0.0 10.5.16.25 -p (p=permanent, you can leave if you don't want permanent route). With cmd: route print you can check your existing and permanent routes. Easier might be using a router that support multiple WAN and do the routing there.



Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.