requestGoldenRefresh method

void requestGoldenRefresh()

External feedback hook: force a GOLDEN refresh on the next inter frame, regardless of goldenRefreshPeriod / refreshGoldenOnInter. The request is consumed on the next encoded frame (a keyframe also clears it, since keyframes always re-seed GOLDEN). Typical use: the receiver reported corruption of its long-term reference and the sender wants a fresh golden snapshot ASAP without paying for a full keyframe.

Implementation

void requestGoldenRefresh() {
  _pendingGoldenRequest = true;
}