Reference Frame Resampling for Bandwidth Drops

Reference Frame Resampling (RFR) is an advanced video encoding feature that allows video conferencing platforms to adapt instantly to network fluctuations without interrupting the video stream. This article explains how RFR functions, why traditional resolution switching struggles during bandwidth drops, and how RFR enables seamless resolution downscaling by referencing frames of different sizes, preserving real-time communication without the latency spikes caused by keyframes.

The Challenge of Traditional Bandwidth Adaptation

In standard video compression (such as base H.264), video frames are compressed by predicting changes relative to previous frames (reference frames). When a user's network connection deteriorates, the video conferencing client must lower the video resolution to prevent buffering or dropped calls.

Traditionally, changing the resolution requires an Intra-coded frame (I-frame or keyframe). Keyframes do not rely on previous frames and establish a new baseline for the video stream. However, keyframes are significantly larger in data size than predictive frames (P-frames)—often up to ten times larger. Sending a massive keyframe over an already congested, dropping connection causes a traffic spike, leading to packet loss, noticeable stutter, and audio-video desynchronization.

How Reference Frame Resampling Works

Reference Frame Resampling, supported in codecs such as VP9 and AV1, removes the requirement for a keyframe when adjusting resolution.

  1. Cross-Resolution Prediction: RFR allows an encoder to compress a new frame at a lower resolution while still using a higher-resolution prior frame as a reference point.
  2. Internal Rescaling: Instead of reinitializing the entire stream, the decoder automatically resamples (scales up or down) the stored reference buffer to match the spatial dimensions of the incoming frame before calculating differences.
  3. Continuous Predictive Encoding: Because the decoder can map motion vectors across different resolutions, the encoder can continue sending lightweight P-frames without missing a beat.

How RFR Assists During a Bandwidth Drop

When available bandwidth drops suddenly, RFR intervenes to maintain call stability in three primary ways:

Once the network connection recovers, RFR applies the same logic in reverse, scaling the resolution back up to HD without demanding a disruptive keyframe.