Bug Report Larger than normal delay between game and stream.

totalcereal

New Member
There seems to be a much larger delay for me when using OBS as opposed to XSplit. With other streaming apps, almost as soon as I begin broadcasting, my Twitch channel shows as live, and there is only about a 3-4 second delay between what happens in-game and what happens on the stream. With OBS (using the same settings and server as tested with other streaming apps), it sometimes takes 30 seconds to start showing live on the channel and the delay is about 10-12 seconds. The only setting in OBS that I know to reduce this kind of delay is "Use Send Buffer", which I have tested both on and off, neither of which have fixed the problem.

As a game broadcaster that interacts with his chat constantly, this delay is extremely annoying. Do I have something set wrong, or if this a problem with OBS? I don't remember having this problem before (I recently came back to casting after a month long hiatus and there have been many changes to OBS since I've last used it). If this is a known problem right now, I apologize.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Currently there's a delay due to a few things:

1.) Buffering the scene for 700ms (which is probably overdoing it now)
2.) Buffering the network data for 2-3 seconds (which is for the framedrop buffer, I will attempt another optional type of frame drop so that data is sent as soon as possible)
3.) Server side buffering of 2-3 seconds.

Adding them up it can be quite a bit of time. It's slightly annoying, I agree, so I will try to do something about it.
 

totalcereal

New Member
Jim said:
Currently there's a client-side delay due to a few things:

1.) Buffering the scene for 700ms (which is probably overdoing it now)
2.) Buffering the network data for 2-3 seconds (which is for the framedrop buffer, I will attempt another optional type of frame drop so that data is sent as soon as possible)
3.) Server side buffering of 2-3 seconds.

Adding them up it can be quite a bit of time. It's slightly annoying, I agree, so I will try to do something about it.
Awesome! Thanks for clarifying this. I appreciate it :)
 

tokala

New Member
Hey,

Got the same problem with my Stream but the delay is even bigger then 30 seconds sometimes.. and even refreshing the stream dont help that much : /

Do you got any tipps to decrease the delay? ._.

Oh and i am using the "Stable - 0.466 Alpha" atm.
 

Warchamp7

Forum Admin
The delay when I stream is pretty minimal and I've had conversations through chat with people streaming using OBS when helping them out. The delay between me typing something and them answering over the stream has never been an issue, so I'm not sure if this is an OBS problem
 

totalcereal

New Member
Warchamp7 said:
The delay when I stream is pretty minimal and I've had conversations through chat with people streaming using OBS when helping them out. The delay between me typing something and them answering over the stream has never been an issue, so I'm not sure if this is an OBS problem
What other problem could it be? Other apps have very little delay, so I doubt it has anything to do with my router or anything. Is there some setting outside of OBS that I could set to help with this problem?
 

tokala

New Member
Well i dunno how long you stream but since i used this programm my delay got bigger after 3 hours.. ^^

Cant be a bitrate Problem since im streaming with a 4k Bitrate and got 6,4 mbit stable upload and never got this problem in other streaming apps :<
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Again, the base client delay is large. Too large, and I've acknowledged that fact and will be attempting to fix it and try to get out pretty much 99% of the delay

However, if your delay gets bigger and bigger, then that means that you didn't drop frames when you were supposed to drop frames. If you have any sort of network congestion for any reason at all and it goes below your set bitrate, you can have this occur.
 

tokala

New Member
Jim said:
Again, the base client delay is large. Too large, and I've acknowledged that fact and will be attempting to fix it and try to get out pretty much 99% of the delay

However, if your delay gets bigger and bigger, then that means that you didn't drop frames when you were supposed to drop frames. If you have any sort of network congestion for any reason at all and it goes below your set bitrate, you can have this occur.

Thats good to hear :o

About the dropped frames.. i know that when i looked on open broadcaster software after a while of streaming that there was something about dropped frames.. but something like "dropped frames: 107 = 0,0%" :o i´ll try to make a screenshot next time
 

tokala

New Member
Sooo.. After two hours of streaming i can say that the delay is realy big right from the start.. about 20-30 seconds before it shows in my stream.. thats defenetly a lot of more then in xplit where its 5-10 seconds max ._.

Heres the screenshot
ekr824r2.jpg


So.. if 0 Frames are dropped.. thats bad? What could i configurate that the delay is not this big? : /

As i said i cannot be a connection issue because i dont have this problem on xplit ._.
 

tokala

New Member
Sooo.. that menas that cannot be the problem, right? :o

Should i make some screenshots of my settings? Or do anyone know a some settings where the delay dont get this big? ._.
 
Top