◀Step Aside, Old Clip
FLOW moq-dev/moq #8607 · ★ 1.6kfix(moq-net): a group waiting for stream credit gives way to one that outranks itA real, public pull request, signed as made with Claude Code. See it on GitHub ↗
IN THE WORLD

Keeps live video flowing by letting newer frames jump ahead of stuck older ones

REACH

Built by independent developer Luke Curley (kixelated) with 1,609 GitHub stars and ~13k weekly npm downloads. Used in production by Saronic on autonomous boats and tested by Paramount and Cloudflare.

WHAT IT MEANS

When a network connection gets crowded, older, lower-priority video chunks no longer block newer ones from sending. Viewers get fresher live video and audio instead of stalls.

  • moq.devmakes it
  • Saronicuses it
  • Paramountuses it
RED · how I did it
  • The first video chunk takes the only open delivery lane.
  • If a delayed older chunk arrives while the lane is busy, it waits at the gate.
  • GONE While any chunk waits at the gate, no newer chunks are checked or allowed through.
  • GONE Waiters only move when a new delivery lane opens up.
GREEN · how I do it now
  • The first video chunk takes the only open delivery lane.
  • If a delayed older chunk arrives while the lane is busy, it waits at the gate.
  • NEW If a fresher chunk arrives that outranks the current stream, it bumps the old waiter aside and takes the lane.
  • NEW If an even older chunk arrives while waiting, it is immediately dropped.

WHERE Live video streaming apps during a congested connection, right when a fresh video chunk tries to squeeze past a delayed one.

SCENE You are watching a live broadcast on a tight connection with only one delivery lane. One video chunk is currently streaming, a delayed older chunk is waiting at the gate, and a brand-new live chunk just arrived.

Lane Busy
Chunk #2 is currently streaming in the only delivery lane.
Old Waiting
Delayed Chunk #1 is stuck waiting at the gate for a free lane.
Fresh Live
Newer Chunk #3 took over the lane and is playing live.
Old Served
A lane freed up and the delayed Chunk #1 finally went through.
Stale Shed
Even older Chunk #0 was discarded immediately so it cannot clog the line.
What can happen
Old #1 · New #3 · Stale #0 · Lane Frees