Historical recipe — not current setup guidance. Measurements and implementation links below belong to their original workload and revision. Deployment labels and defaults may be obsolete. Use the reviewed performance recipes; browse historical evidence.

AVPlumber · Mixer optimization cookbook

Prewarmed DSK keys

Implementation links are pinned to develop at c20464a5 (2026-10-09); read against develop at 8fa15c92 on 2026-10-13 and still current. Measurements retain their original workload and scope. Watch the current 192-input L4 demo.

Current scope. Prewarming deliberately keeps key subscriptions alive while keys are off. This trades retained frame references for prompt key activation and differs from disabling off-page AUX subscriptions.

Every downstream key stays subscribed while it is off, so a key cut or fade-in starts on the very next program frame instead of waiting 1–2 frames for the browser page’s next paint.

Status: Implemented

The idea

Low latency is the product’s selling point. Scene sources are already prewarmed: their frames flow before a cut needs them. Keys were not. The keyer subscribed to a key’s browser feed only while the key was on. Now it treats keys like scene sources: frames always flow, and the key’s level decides what is drawn.

Program frames over time. A key-on command arrives between frames 1 and 2. Before: the key appears 1 to 2 frames late, after the page's next paint. Now: the key appears on frame 2, the very next program frame. program f0f1f2 f3f4f5f6 key on (cut or fade-in) Before subscribe on demand off, feed closed waiting waiting? key drawn +1–2 frames Now always fed off, frame held key drawn from the very next frame · +0 frames
Before, the command opened the key’s feed, then the keyer waited for the page’s next paint: 1 or 2 program frames of nothing. Now the keyer already holds a frame, so the next program frame can draw it.
The browser page paints continuously. Its frames always reach the keyer, which queues up to 6 frames per key, picks the one stamped for the program tick, and draws a key only when its level is above 0. With no key visible the program passes through. Browser page paints all the time Subscription always enabled Keyer queues up to 6 frames level > 0 ? only then drawn Program in clocks the keyer Program keyed no key visible: passes through
Same pattern as scene sources: frames flow whether or not the key is on air. Only the level decides what is drawn.

At a glance

Where in the code

Source links identify the reviewed code, independently of deployment state.