Contact Us

Anti-Lag in Livestream Producer

Sometimes the Anti-Lag Feature Triggered warning message will appear within the Producer Software.


Anti-lag is enabled by default under Preferences > Livestream.  

Enable anti-lag: When enabled (default), the anti-lag feature will keep the delay between you and your viewers as low as possible. The local MP4 file recording will retain all frames, even if anti-lag kicks in. If you disable anti-lag, the stream will retain all frames but will continuously buffer on the viewer side, causing latency to increase.

To explain what anti-lag is:

  • There are several buffers in Livestream Producer and one of them is in the RTMP outgoing buffer. If this buffer increases and gets above a certain limit, it detects that the outgoing side is too slow.

What could cause this:

  • Internet bandwidth client side - The most common cause is the Internet on the client side being too slow. It can connect to the server, but it can't send out at the full bandwidth, causing a buildup in the buffer.
  • CPU Limitations - CPU limitations can lead to a build of frames locally which along with triggering a CPU error can also trigger the Anti-Lag feature once the buffer is full.
  • Internet bandwidth server side - The internet on the server side is too slow, it is connected to the server, but the server is at full capacity and can't handle more bandwidth, causing the buffer to grow.
  • CPU Server side - The server is too busy with other requests that it is busy handling all requests and not being able to handle the incoming traffic. This may occur if you are attempting to send multiple streams from the same account simultaneously.

Ways to resolve this include:

  • Lowering the streaming bitrate.
  • Connecting to the Internet via Ethernet on a dedicated network (i.e. not be on a shared network).
    • You should have twice as much upload speed as the quality you wish to stream, this will allow for bandwidth fluctuation.
Have more questions? Submit a request