Contact Us My Activity Community

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.

There are several things that could cause the anti-lag feature to activate. First an explanation what happens with the Livestream Producer application:

  • 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 at the full bandwidth out, 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.
  • Distance between server and client - When the distance between a server and a client is too large it could also fill the buffer, when the ping time is high it means that the packets take a long time to get to the server. We are using TCP to send it over the connection, and TCP waits for the package to arrive on the other side before sending another package.

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

0 Comments

Please sign in to leave a comment.