FACEBOOK LIVE OBS

Lawrence_SoCal

Active Member
I suspect most folks won't be sure what you are asking?
and am I correct about a need to avoid acronyms, colloquialisms, etc as English isn't your native language?

So, which 'delay' or 'lag' are you referring to?

There is
1. Are you referring to your Local Audio and Video sources not being in 'sync'? if yes, that is common, basically to be expected, especially when using consumer equipment which is NOT using a common time sync signal across sources (as is the case in professional production environments). If it is Audio/Video sync problem you are asking about, then
- typically audio processes much faster (as it is less CPU demanding) than video, so delaying the audio, to be in sync with video is common. OBS has a flexible setting option for delaying Audio Sources. The trick is determining the 'correct' delay. some people can do this by 'ear' (quick OBS Recording, review results, adjust delay, test again until okay with result. Others like me, need to use a 'technique' to determine the amount of sync delay required.
2. Delay (lag) from live action to video visible for those watching live stream
As for the amount of time from live activity (in front of camera, on computer, etc) to a stream platform, there will ALWAYS be a delay
Photons travel at the speed of light, whereas electrons used in copper travels at less than one percent of the speed of light. Although fiber optic cables do not reach the speed of light, they are only about 31% slower.​
And then there is the time required for your video compositing device (OBS Studio computer) to process its sources, video encode, then transmit. THEN. your streaming platform (Facebook, in your case) has to receive video, who then re-encodes the video (sometimes into multiple videos of different resolutions/encoding formats, etc) for bandwidth and storage efficiency, then re-distribute out on CDN (content delivery network).... THEN transmission to clients (with cellular networks, at least here in the USA even on 4G/5G, tending to be much slower than other ISPs)

A 15 second lag from live action to watching on client device is on the low-end (good). 30 seconds to 1 minute is not uncommon, and ... it depends (and is common to vary somewhat livestream to livestream... sometimes a little, sometimes by a fair amount). Facebook, and YouTube, and I suspect the others, have some very detailed blog articles going into the whole receipt of an incoming video stream and the steps they take to make that video available for viewing. After reading those, and understanding you are discussing a 'free' service, that the 'lag' is under one minute is quite impressive. There are things one can do to lower that lag somewhat (varies by CDN, and your desired video quality output)

3. computer slowing down?
real-time video compositing is computationally demanding. Add other operating system workloads at the same time, especially a demanding game or similar, and it is easy to overwhelm/overload a computer, which can then cause all sorts of problems. So using the Operating Systems Performance Monitor (or similar tool), being aware of what happens with thermal throttling, especially on laptops, and how that impacts Performance (PerfMon) tool reporting is important. For example, on a laptop, that is thermally throttling, PerfMon may report CPU at say 50% for example... BUT, the CPU is actually maxed out (at its limit) for the moment

If something else, please let us know.
 
Top