Pacing, Pading and AutoMuter
In the last months those terms have been appearing often in the WebRTC codebase and discussions. In this post I will try to give a very brief description of the meaning, behaviour and implementation status , and attach some comments or source code that can be helpful to illustrate those features. Pacing or Smoothing When transmitting video it is common to have peaks of traffic when sending a video frame because it is consisting on lots of RTP packets (from 1 to even 50 in case of a key frame) that are sent in the same instant of time. The solution to alleviate that problem is to add some spacing between those packets or even between frames if needed. This is known as pacing or smoothing and in case of the Google WebRTC implementation it is enabled by default in the latests versions. // Set the pacing target bitrate and the bitrate up to which we are allowed to // pad. We will send padding packets to increase the total bitrate until we // reach |pad_up_to_bitrat