Network Drop

deicool

New Member
Hello

We occasionally have a network drop in our office while we do a live event. OBS bombs during this time (and Vmix doesn't). Vmix seems to be resilient during this time (it automatically seems to handle this network issue nicely)

How do we resolve this in OBS?

Deepak

P.S: We have many ISP providers which we join by a VPN and this is given to our office for connecting to internet through a DLINK switch.
 

deicool

New Member
A note - our normal browsing experience is flawless during these times. It works flawlessly. However OBS seems to respond after 25 seconds.
 

Lawrence_SoCal

Active Member
browsing is download, and has NOTHING to do with upload for streaming.... networking 101
What are you doing to real-time monitor your network upload utilization? do you have a dedicated circuit, or QoS on the network to prevent others from interrupting your stream?

OBS has dynamic bandwidth settings, BUT the issue is the network, not OBS. And OBS also has re-connect settings which you can adjust.
routing streaming traffic over a VPN is not recommended, generally (why encrypting that traffic (and the overhead associated with it) unless internal only, private stream??
 
Last edited:

Lawrence_SoCal

Active Member
It is a private stream.
We have enabled the reconnect settings. The retry delay is 0s.

Fix your network - is your VPN device capable of keeping up with sustained throughput? D-Link not known for quality. And if bandwidth consumed by other traffic, there is nothing OBS or anything else can do (other than be patient and try re-connecting and stream will get interrupted)

I suspect a retry delay of 0s will ONLY cause you problems.. don't do that. I dropped from 5s to 3s but I knew there was no other devices using Internet connection... issue was Corp IT security s/w software on PC
With a 0s retry... all you are doing is piling on vs fixing real problem (network).. no amount of forcing stream to re-connect will magically make bandwidth available. And you can actually make the situation worse if you aren't careful.
You need to give a little time for whatever the [problem creating the] constraint is to pass (or better yet, fix the source of the problem, but I get the sense you aren't in a position to address/fix the real problem, right?)
 
Last edited:

deicool

New Member
Bandwidth is not a problem. Our issue is something more like this:

Remember, if we replace OBS with vMix, this issue does not happen
 

Lawrence_SoCal

Active Member
Whoever wrote the Google doc doesn't understand networking. In that picture/image, it is the network software / devices responsibility to handle the link fail-over, not OBS (or any other app).

In you case, the fact that vMix works is irrelevant/coincidental. vMix's settings/assumptions are different - and that just so happens to work in your environment - ok fine. OBS is very flexible (in exchange for you having to know what you are doing, and not be hand-held to get there... nature of FOSS , especially where/when there isn't a commercial company offering paid support services), so go ahead and configure OBS to match vMix. Maybe others can help you... but I've never used nor do i have vMix, nor specific network monitoring details for all the relevant portions of your network to give you any guidance on exactly which settings to adjust to mimic what settings you have set (or are default) in vMix

if you do your research on occasionally bandwidth constrained livestreaming, the advice for addressing that situation in OBS will apply to your situation
 

deicool

New Member
I have set my LoadBalancer (Speedify) on Redundant Mode. If OBS gets multiple packages of the same message, how does it choose? What is the selection mechanism of OBS?

Is it based on time?

In my case, I think OBS gets two packets (due to 2 leased lines being loabalanced on redundant mode). The first packet (without message) might be delivered earlier than the second packet (with message). OBS selects the first packet over the second one, which is the problem for me. I want it to select the second packet (probably same like vMix)
 

Lawrence_SoCal

Active Member
I have set my LoadBalancer (Speedify) on Redundant Mode. If OBS gets multiple packages of the same message, how does it choose? What is the selection mechanism of OBS?

Uh, depends on packet type.
Typically an App is not involved, packet handling is an OS function, and App would never see 2nd packet. networking 101
And with load balancer, IT should be handling the redundant paths and NOT passing the extraneous packets along, so the OS would never see them. If you load balancer is passing on duplicate traffic then it either has a bug or is misconfigured
 

deicool

New Member
So if the problem is most-likely the LoadBalancer (Speedify), then I am wondering why vMix works. vMix is a client application similar to OBS.
 

deicool

New Member
During the time of OBS bombing, following error is produced:
13:36:58.202: socket_thread_windows: Socket error, send() returned -1, GetLastError() 10054
 
Top