OBS Bind to IP does not change the interface

witch_king2011

New Member
Hi all. I have two network adapters, and I'm trying to use one for streaming.
1. Ethernet with interface named Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
2. WiFi with interface named TP-Link Wireless USB Adapter (802.11, 300 mbps)

when I bind the IP to the wifi, starting the stream results an error:
"The connection timed out. Try a different server, or check that the connection is not being blocked by a firewall or other security software (ETIMEDOUT)."

However, if I do any one of these
  • bind IP to default or ethernet
  • disable or disconnect the ethernet
  • use interface metric to prioritize the wifi
the stream starts normally.

Basically it seems that OBS is using the default windows interface rather than what it is told to bind to, and when the IP and interface do not match, it fails somehow. Reading the logs also indicates this. I tested under these four conditions and uploaded each log file:

bind to default when both adapters are enabled

bind to default when only wifi is enabled

bind to wifi when both adapters are enabled (automatic metrics for both adapters) --> fails

bind to ethernet when wifi interface metric set lower than that of ethernet --> fails
 

R1CH

Forum Admin
Developer
If the Ethernet and Wifi IPs are in the same subnet then binding won't have the desired effect.
 

Fast Draw

New Member
Have you ensured that it works over wifi if you disable the lan connection?
Also, perhaps you could try to set a route to the rtmp server? Like so:

Code:
PS C:\WINDOWS\system32> nslookup rtmp.cdn.asset.aparat.com
Server:  www.routerlogin.com
Address:  192.168.3.1

Non-authoritative answer:
Name:    rtmp.cdn.asset.aparat.com
Address:  185.147.178.62

PS C:\WINDOWS\system32> route add 185.147.178.62 mask 255.255.255.255 192.168.1.1 metric 1
 OK!
PS C:\WINDOWS\system32>
 

witch_king2011

New Member
Have you ensured that it works over wifi if you disable the lan connection?

Yes In the first message I wrote the conditions that I have tested. It works fine when only wifi is in use, or its metric is higher than that of ethernet.

About the code you wrote, could you explain a little more?
should 255.255.255.255 be the subnet mask of my wifi connection and 192.168.1.1 its ip? and after adding this, OBS bind should stay on default right?
 

witch_king2011

New Member
UPDATE: Thanks Fast Draw, I did what you said and left obs bind on default, now it works fine and the stream is using the wifi. Although I liked to use the feature in obs rather than using a route map on windows. Anyway now it is ok :)
 

Fast Draw

New Member
Nice!

About the code you wrote, could you explain a little more?
should 255.255.255.255 be the subnet mask of my wifi connection and 192.168.1.1 its ip? and after adding this, OBS bind should stay on default right?

255.255.255.255 is the subnet mask for the target ip or network, in this case 185.147.178.62
 
Top