Bug Report RTMP_Connect() failed error when not using the default network interface (10051)

Lenwe

New Member
Hi

My PC is connected to the Internet with 2 interfaces :
  • My xDSL box using a wired ethernet card (good ping but very low upload bandwitdh)
  • My iPhone in 4G using a WiFi dongle (good upload but terrible ping)
I configured my PC to use the xDSL as the default gateway but I want to use OBS to stream using the iPhone in 4G.

In OBS, I changed the network interface to use my WiFi dongle (Parameters / Advanced options / Network interface).

Unfortunately, this doesn't work and I get the following error :

Could not connect to the server

RTMP_Connect() failed to connect socket: A socket operation was attempted to an unreachable network. (10051)


If I change the default gateway to use the iPhone's by typing a route change command, it works. My route change is as follow :
route change 0.0.0.0 mask 0.0.0.0 172.20.10.1

This occurs both with OBS classic and OBS Studio on Windows 10 64-bit.

Is there a way to fix that?

Thanks :)
 
Top