Question / Help Advanced / Network Use Send Buffer?

dc2587

New Member
By default the send buffer is unchecked. However, upon hovering over the description it recomends that It is on. If i check the box, it pairs me with several options to chose from. What is this doing, what should I select and how does it affect my end or the viewers end?

Options are: 1460, 2920, 5840, and 11680

What about Bind to interface?

thanks!
 

micechal

Member
R1CH said:
This will cause OBS to buffer video/audio frames to this packet size before sending them to the network. This is not normally needed unless you are experiencing throughput problems.
I think the tooltip is simply outdated. There is normally no need to check it. Checking it will (theoretically) make your stream more stable and you'll have more delay. It can (and propably will) cause problems with realtime multiplayer games, for example shooters.
 

hilalpro

Member
a send buffer of 1460 (1452 for pppoe) is efficient if you're having a decent latency to the specified twitch server.

if you really want to use this though you can calculate it like this

(video buff size in bytes + audio buff size in bytes)/1460 ( 1452 for pppoe) = multiplier of packets to be sent in a burst

for example you have a 2 mb upload speed 1600 vbv-btrate 2000 buffsize

[(2000/0.008) + (11/0.008)] / 1460 = 172.17 since we want to use a clear packet number and little more room we can just use 173 instead

so 173 * 1460 = 252580 that's the send buffer size and it will add a little about +1.5 sec more delay on your stream
 

Krazy

Town drunk
hilalpro said:
a send buffer of 1460 (1452 for pppoe) is efficient if you're having a decent latency to the specified twitch server.

if you really want to use this though you can calculate it like this

(video buff size in bytes + audio buff size in bytes)/1460 ( 1452 for pppoe) = multiplier of packets to be sent in a burst

for example you have a 2 mb upload speed 1600 vbv-btrate 2000 buffsize

[(2000/0.008) + (11/0.008)] / 1460 = 172.17 since we want to use a clear packet number and little more room we can just use 173 instead

so 173 * 1460 = 252580 that's the send buffer size and it will add a little about +1.5 sec more delay on your stream

What in the world do not do this at all. Your send buffer should never ever ever even remotely be anywhere near that size
 

Niamor

Member
R1CH said:
This option doesn't do anything any more.
Are you sure ? Because I don't think so, it clearly does something for my disconnecting issue without I was being disconnected every 5mins. In the test version I let it off and everything works fine but in 0.461a it definitely helped me.
 

R1CH

Forum Admin
Developer
Yes, check the code if you like. It's just an empty placeholder now, buffering is always used to an internal data buffer for the network code.
 
Top