From 50d1e4003b2b3da88e02da2de094d15ad27fe685 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sun, 22 Nov 2026 15:39:17 -0800 Subject: [PATCH 1/4] chore(quest): claim quest/m2/compose/layer-delay.md Quest-Claim: 4943fb93b8d640fd From c59fe0042e4e9e1e35ec18b1cc4bef34d1c7bac3 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sun, 22 Nov 2026 16:01:02 -0800 Subject: [PATCH 2/4] fix(scene): a lost group stalls a layer only as long as it plays behind Co-Authored-By: Claude Opus 5.5 --- rs/moq-scene/src/source.rs | 260 ++++++++++++++++++++++++++++++++++--- 1 file changed, 241 insertions(+), 19 deletions(-) diff --git a/rs/moq-scene/src/source.rs b/rs/moq-scene/src/source.rs index 3179611b..2e27aa08 100644 --- a/rs/moq-scene/src/source.rs +++ b/rs/moq-scene/src/source.rs @@ -220,15 +220,59 @@ struct Clock { /// holds no more decoder output than this. const QUEUED: usize = 3; -/// How long a layer's subscription holds a group it has not read yet once a -/// newer one arrives: two playouts, the studio's of its broadcast, up to -/// [`MAX_DELAY`], which its offset carries, and the viewer's own of the -/// program. Its pictures wait there undecoded, so past this a picture due -/// later still, as where the studio's path to the broadcast is that much -/// slower than the viewer's, is skipped. A longer hold would also stall the -/// layer that long at a lost group, which moq's subscription waits out for -/// the same time. -const LAYER_DELAY: Duration = MAX_DELAY.saturating_mul(2); +/// How long a layer's track waits out a lost group: as long as its frames wait +/// between arriving and playing, which is how far behind the layer plays, the +/// studio's playout of its broadcast, which its offset carries, plus the +/// viewer's of the program. Past that, everything the group holds is due, so +/// waiting longer only stalls the layer. Measured from arrivals rather than +/// read off the offset, which also carries how far apart the two broadcasts' +/// clocks sit. +struct Reach { + /// The wait the subscription holds a lost group for now. + held: Duration, + /// The longest wait counted since `since`. + peak: Duration, + since: Instant, +} + +/// How long every frame must wait shorter than a layer's [`Reach`] before it +/// shrinks, so the late frames a loss leaves behind do not shrink it. +const SHRINK: Duration = Duration::from_secs(1); + +impl Reach { + /// Holding `held` until frames are counted, from `now`. + fn new(held: Duration, now: Instant) -> Self { + Self { + held, + peak: Duration::ZERO, + since: now, + } + } + + /// Count a frame read at `now` that waits `wait` before it plays, + /// returning the new reach once it moves more than `step`, a frame's + /// length, from the one held: longer at once, so no frame on time is + /// skipped, and shorter only once every frame of a whole [`SHRINK`] waited + /// that much less. At most [`DELAY_MAX`](moq_mux::container::DELAY_MAX), + /// however a peer stamps its frames. + fn count(&mut self, wait: Duration, step: Duration, now: Instant) -> Option { + let wait = wait.min(moq_mux::container::DELAY_MAX); + let mut shrink = None; + if now.saturating_duration_since(self.since) >= SHRINK { + shrink = Some(std::mem::take(&mut self.peak).max(wait)); + self.since = now; + } + self.peak = self.peak.max(wait); + let held = self.held; + let next = if wait > held.saturating_add(step) { + wait + } else { + shrink.filter(|peak| peak.saturating_add(step) < held)? + }; + self.held = next; + Some(next) + } +} /// How far ahead a layer holds decoded sound, read as it arrives: as long as /// its publisher keeps it, a bound on memory alone (about 11 MB of the bus's @@ -1537,7 +1581,11 @@ impl Driver { /// Show each picture once `schedule`, another track's clock, says it is /// due, the newest due one when several are, as - /// [`play_video`](Self::play_video) does. + /// [`play_video`](Self::play_video) does. Its pictures wait undecoded in + /// the subscription, which waits out a lost group for the layer's + /// [`Reach`]: moq_video's decoder cannot move that in place, so the track + /// is subscribed again whenever it moves, joining where the layer plays, + /// and the old subscription plays on until the new one is open. async fn follow_video( &self, broadcast: &moq_net::broadcast::Consumer, @@ -1545,16 +1593,26 @@ impl Driver { config: hang::catalog::VideoConfig, schedule: &sync::Consumer, ) -> Result<(), Error> { - let mut options = moq_video::decode::Options::new(); - options.start = moq_video::decode::Start::Latest; - options.decoder.output = self.context.output; - options.delay = moq_video::decode::Delay { - min: Some(VIDEO_DELAY), - max: Some(LAYER_DELAY), + let open = |reach: Duration| { + let mut options = moq_video::decode::Options::new(); + options.start = moq_video::decode::Start::Latest; + options.decoder.output = self.context.output; + options.delay = moq_video::decode::Delay { + min: Some(reach), + max: Some(reach), + }; + moq_video::decode::Consumer::new(broadcast, &config, name.clone(), options) }; - let mut consumer = moq_video::decode::Consumer::new(broadcast, &config, name, options).await?; + // Until a picture says how far behind the layer plays, the program's + // own video delay. + let mut reach = Reach::new(VIDEO_DELAY, kio::clock::now()); + let mut consumer = open(VIDEO_DELAY).await?; + let mut opening = None; let mut offsets = self.offset.clone(); let mut queue = VecDeque::::new(); + // The newest picture queued, which a new subscription's join repeats. + let mut newest: Option = None; + let mut step = None; let mut ended = false; loop { let now = kio::clock::now(); @@ -1581,10 +1639,32 @@ impl Driver { .filter(|due| *due > now); tokio::select! { read = consumer.read(), if !ended && queue.len() < QUEUED => match read? { - Some(moq_video::decode::Read::Frame(frame)) => queue.push_back(frame), + Some(moq_video::decode::Read::Frame(frame)) => { + if newest.is_some_and(|newest| frame.timestamp <= newest) { + continue; + } + if let Some(newest) = newest { + step = Duration::try_from(frame.timestamp).ok().zip(Duration::try_from(newest).ok()).map(|(at, before)| at.saturating_sub(before)); + } + newest = Some(frame.timestamp); + let due = shift(frame.timestamp, offset).and_then(|at| schedule.due(at)); + let moved = match (due, consumer.arrival(), step) { + (Some(due), Some(arrived), Some(step)) => reach.count(due.saturating_duration_since(arrived), step, kio::clock::now()), + _ => None, + }; + if let Some(moved) = moved { + opening = Some(Box::pin(open(moved))); + } + queue.push_back(frame); + } Some(moq_video::decode::Read::Gap { .. } | moq_video::decode::Read::End { .. }) => {} None => ended = true, }, + opened = async { opening.as_mut().expect("guarded").await }, if opening.is_some() => { + opening = None; + consumer = opened?; + ended = false; + } () = kio::clock::sleep_until(wake.unwrap_or(now)), if wake.is_some() => {} // A new offset moves every moment, so the wake is found again. Ok(()) = offsets.changed() => {} @@ -1609,9 +1689,12 @@ impl Driver { let bus = self.context.bus.config(); let mut options = moq_audio::decode::Options::new(); options.start = moq_audio::decode::Start::Latest; + // Until a frame says how far behind the layer plays, the program's own + // video delay. A frame sounds as long as [`STRETCH`] late. + let mut reach = Reach::new(VIDEO_DELAY, kio::clock::now()); options.delay = moq_audio::decode::Delay { min: None, - max: Some(LAYER_DELAY), + max: Some(VIDEO_DELAY.saturating_add(STRETCH)), }; options.output.format = moq_audio::Format::F32; options.output.sample_rate = Some(bus.sample_rate); @@ -1657,6 +1740,10 @@ impl Driver { // whatever a peer stamps. let now = kio::clock::now(); let due = shift(frame.timestamp, *offsets.borrow()).and_then(|at| schedule.due(at)); + let wait = due.zip(consumer.arrival()).map(|(due, arrived)| due.saturating_duration_since(arrived)); + if let Some(moved) = wait.and_then(|wait| reach.count(wait, length(&frame, bus), now)) { + consumer.set_max_delay(moved.saturating_add(STRETCH)); + } let placed = !gone(due, length(&frame, bus), now, STRETCH) && due.is_some_and(|sounds| sounds <= now.saturating_add(LAYER_SOUND)); if placed { @@ -3746,6 +3833,141 @@ mod tests { .await; } + /// A layer's reach grows at once past a frame's length, ignores what moves + /// less, shrinks only once a whole window waited that much less, and stops + /// at the longest playout delay whatever a peer stamps. + #[test] + fn a_reach_follows_the_longest_wait() { + let ms = Duration::from_millis; + let step = ms(33); + let start = Instant::ZERO; + let at = |millis| start.saturating_add(ms(millis)); + let mut reach = Reach::new(ms(100), start); + assert_eq!(reach.count(ms(130), step, at(0)), None, "within a frame"); + assert_eq!(reach.count(ms(500), step, at(10)), Some(ms(500))); + assert_eq!(reach.count(ms(520), step, at(20)), None, "within a frame"); + // Late frames after a loss, within the window that saw 520 ms. + assert_eq!(reach.count(ms(50), step, at(500)), None); + // The window that saw 520 ms ends, so the next still holds. + assert_eq!(reach.count(ms(200), step, at(1_020)), None); + assert_eq!(reach.count(ms(200), step, at(1_500)), None); + assert_eq!(reach.count(ms(210), step, at(2_020)), Some(ms(210))); + assert_eq!( + reach.count(Duration::MAX, step, at(2_030)), + Some(moq_mux::container::DELAY_MAX) + ); + } + + /// Copy `name` from `from` into `to` as its groups arrive, but of the group + /// starting at `lost`, only the first frame: the rest never arrive, and it + /// never ends, as over a link that lost them. + fn forward(from: &moq_net::broadcast::Consumer, to: &moq_net::broadcast::Producer, name: &str, lost: Option) { + let track = from.track(name).unwrap(); + let to = to.clone(); + tokio::task::spawn_local(async move { + let mut subscriber = track.subscribe(None).await.unwrap(); + let out = to.create_track(subscriber.name(), subscriber.info().clone()).unwrap(); + let mut stalled = Vec::new(); + while let Some(mut group) = subscriber.recv_group().await.unwrap() { + let mut copy = out.create_group(moq_net::group::Info { start: group.start }).unwrap(); + if lost == Some(group.start) { + let frame = group.read_frame().await.unwrap().unwrap(); + copy.write_frame(frame.timestamp, frame.payload).unwrap(); + stalled.push(copy); + continue; + } + tokio::task::spawn_local(async move { + while let Some(frame) = group.read_frame().await.unwrap() { + copy.write_frame(frame.timestamp, frame.payload).unwrap(); + } + copy.finish().unwrap(); + }); + } + }); + } + + /// A layer whose pictures play half a second after they arrive waits out + /// a group lost mid-way for that long, not the two playouts every layer + /// held: the next group's first picture shows when it is due. + #[tokio::test(start_paused = true)] + async fn a_lost_group_stalls_a_layer_no_longer_than_it_plays_behind() { + const FRAME: u64 = 33; + /// Pictures to a group. + const GROUP: u64 = 10; + local(async { + let dir = tempfile::tempdir().unwrap(); + let (context, origin) = context(dir.path()); + let mut live = live(&origin, false).await; + // The camera's broadcast, stamped as the program is, reaching the + // layer through a link that loses the group after the sixth. + let mut source = moq_net::broadcast::Info::new().produce(); + let catalog = moq_mux::catalog::Producer::new(&mut source, Default::default()).unwrap(); + let (mut cam, mut cam_encoder) = rendition(&source, catalog.timebase()).await; + let name = catalog.snapshot().video.renditions.into_keys().next().unwrap(); + let publication = origin + .route("room/cam", moq_net::origin::RouteOptions::hidden()) + .unwrap(); + forward( + &source.consume(), + publication.broadcast(), + hang::Catalog::DEFAULT_NAME, + None, + ); + let lost = 1_000 + 6 * GROUP * FRAME; + forward(&source.consume(), publication.broadcast(), &name, Some(lost * 1_000)); + publication.announce().unwrap(); + + // 400 ms past the program's picture stamped alike, which plays + // VIDEO_DELAY after it arrives. + let behind = Duration::from_millis(400).saturating_add(VIDEO_DELAY); + let mut collection = collection(); + collection.sources.insert( + "cam".into(), + Source::Layer { + clock: "guest".into(), + path: "room/cam".into(), + instance: None, + offset: 400_000, + }, + ); + collection.validate().unwrap(); + let mut sources = Sources::new(context); + let drivers = sources.sync(&collection); + start(&sources, drivers).await; + let layer = sources.get("cam").unwrap(); + + let begun = kio::clock::now(); + let next = lost + GROUP * FRAME; + let mut arrived = None; + let mut shown = None; + for index in 0..11 * GROUP { + until_time(begun.saturating_add(Duration::from_millis(index * FRAME))).await; + let at = 1_000 + index * FRAME; + if at == next { + arrived = Some(kio::clock::now()); + } + picture(&mut live.video, &mut live.encoder, at); + if index % GROUP == 0 { + cam_encoder.cut().unwrap(); + } + picture(&mut cam, &mut cam_encoder, at); + if let Some(Picture::Frame(frame)) = layer.next_picture() + && frame.timestamp >= moq_net::Timestamp::from_millis(next).unwrap() + { + shown.get_or_insert(kio::clock::now()); + } + } + let due = arrived.unwrap().saturating_add(behind); + let shown = shown.expect("the group after the lost one never showed"); + assert!( + shown <= due.saturating_add(behind), + "shown {:?} after it was due", + shown.saturating_duration_since(due) + ); + }) + .await; + } + /// A timestamp moves by an offset either way, keeping its own timescale /// unmoved, and one moved off a timestamp's range has no place. #[test] From ee3ff10a8b8844ee6732b3190781259b0637124b Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sun, 22 Nov 2026 18:34:00 -0800 Subject: [PATCH 3/4] fix(scene): hold a layer's reach a video delay past its longest wait Co-Authored-By: Claude Opus 5.5 --- quest/m2/compose/layer-delay.md | 31 -------------------- rs/moq-scene/src/source.rs | 50 ++++++++++++++++++++------------- 2 files changed, 30 insertions(+), 51 deletions(-) delete mode 100644 quest/m2/compose/layer-delay.md diff --git a/quest/m2/compose/layer-delay.md b/quest/m2/compose/layer-delay.md deleted file mode 100644 index d171340d..00000000 --- a/quest/m2/compose/layer-delay.md +++ /dev/null @@ -1,31 +0,0 @@ -# [S] A lost group stalls a layer no longer than its offset - -## Goal - -A layer's pictures wait in their subscription only as long as that layer -plays behind, its own offset plus the viewer's playout, so a lost group -stalls a guest close to live for that long, not for the fixed `LAYER_DELAY` -(two full playouts) every layer holds today. - -## Plan - -Decided 2026-11-20 (maintainer, /quest-plan): ✅ the studio sets each layer's -`Delay::max` from its own composition offset (rejected: a moq-net subscription -that skips by a reader's deadline apart from `Delay::max`, which is the same -thing once the max matches how far behind the reader plays; leaving it). - -`LAYER_DELAY` in `rs/moq-scene/src/source.rs` bounds every layer's video and -sound (`follow_video` and `follow_audio`), since its pictures wait undecoded -in the subscription. Its doc counts two playouts, the studio's of the layer's -broadcast, which the offset carries, and the viewer's of the program; keep -the viewer's in the per-layer max. A layer's offset changes with each -composition. Sound moves its max in place with -`moq_audio::decode::Consumer::set_max_delay`, as `moq play` does; moq_video's -decode consumer has no such setter, so recommended: resubscribe a layer's -video when its offset moves more than a frame from the one its max was set -for, shrinking as well as growing, rather than on every change. Alternatives: add a `set_max_delay` to moq_video's decode -consumer in moq first, mirroring moq_audio's, or have the layer read pictures -out at once into a queue of its own and keep the subscription's max small; -pick whichever measures better on a lossy link. - -Found by [moq-dev/studio#146](https://github.com/moq-dev/studio/pull/146). diff --git a/rs/moq-scene/src/source.rs b/rs/moq-scene/src/source.rs index 2e27aa08..061e256d 100644 --- a/rs/moq-scene/src/source.rs +++ b/rs/moq-scene/src/source.rs @@ -239,6 +239,11 @@ struct Reach { /// shrinks, so the late frames a loss leaves behind do not shrink it. const SHRINK: Duration = Duration::from_secs(1); +/// How far a layer's [`Reach`] holds past the longest wait, so a playout +/// still rising after a loss does not skip groups that will play: the jitter +/// video plays behind its arrivals to ride out. +const LEEWAY: Duration = VIDEO_DELAY; + impl Reach { /// Holding `held` until frames are counted, from `now`. fn new(held: Duration, now: Instant) -> Self { @@ -250,24 +255,24 @@ impl Reach { } /// Count a frame read at `now` that waits `wait` before it plays, - /// returning the new reach once it moves more than `step`, a frame's - /// length, from the one held: longer at once, so no frame on time is - /// skipped, and shorter only once every frame of a whole [`SHRINK`] waited - /// that much less. At most [`DELAY_MAX`](moq_mux::container::DELAY_MAX), - /// however a peer stamps its frames. + /// returning a new reach, the longest wait and [`LEEWAY`]: longer at once + /// when a wait comes within `step`, a frame's length, of the one held, so + /// no frame on time is skipped, and shorter only once every frame of a + /// whole [`SHRINK`] waited more than a frame less. At most + /// [`DELAY_MAX`](moq_mux::container::DELAY_MAX), however a peer stamps its + /// frames. fn count(&mut self, wait: Duration, step: Duration, now: Instant) -> Option { - let wait = wait.min(moq_mux::container::DELAY_MAX); let mut shrink = None; if now.saturating_duration_since(self.since) >= SHRINK { shrink = Some(std::mem::take(&mut self.peak).max(wait)); self.since = now; } self.peak = self.peak.max(wait); + let reach = |wait: Duration| wait.saturating_add(LEEWAY).min(moq_mux::container::DELAY_MAX); let held = self.held; - let next = if wait > held.saturating_add(step) { - wait - } else { - shrink.filter(|peak| peak.saturating_add(step) < held)? + let next = match wait.saturating_add(step) > held { + true => Some(reach(wait)).filter(|next| *next != held)?, + false => Some(reach(shrink?)).filter(|next| next.saturating_add(step) < held)?, }; self.held = next; Some(next) @@ -3833,9 +3838,10 @@ mod tests { .await; } - /// A layer's reach grows at once past a frame's length, ignores what moves - /// less, shrinks only once a whole window waited that much less, and stops - /// at the longest playout delay whatever a peer stamps. + /// A layer's reach holds [`LEEWAY`] past the longest wait: it grows once a + /// wait comes within a frame of it, shrinks only once a whole window waited + /// more than a frame less, and stops at the longest playout delay whatever + /// a peer stamps. #[test] fn a_reach_follows_the_longest_wait() { let ms = Duration::from_millis; @@ -3843,19 +3849,23 @@ mod tests { let start = Instant::ZERO; let at = |millis| start.saturating_add(ms(millis)); let mut reach = Reach::new(ms(100), start); - assert_eq!(reach.count(ms(130), step, at(0)), None, "within a frame"); - assert_eq!(reach.count(ms(500), step, at(10)), Some(ms(500))); - assert_eq!(reach.count(ms(520), step, at(20)), None, "within a frame"); - // Late frames after a loss, within the window that saw 520 ms. + assert_eq!(reach.count(ms(50), step, at(0)), None, "covered"); + assert_eq!(reach.count(ms(500), step, at(10)), Some(ms(500) + LEEWAY)); + assert_eq!(reach.count(ms(560), step, at(20)), None, "covered"); + // Late frames after a loss, within the window that saw 560 ms. assert_eq!(reach.count(ms(50), step, at(500)), None); - // The window that saw 520 ms ends, so the next still holds. + // The window that saw 560 ms ends: its peak is longer than held, but + // that only ever grows on a wait of its own. assert_eq!(reach.count(ms(200), step, at(1_020)), None); assert_eq!(reach.count(ms(200), step, at(1_500)), None); - assert_eq!(reach.count(ms(210), step, at(2_020)), Some(ms(210))); + assert_eq!(reach.count(ms(210), step, at(2_020)), Some(ms(210) + LEEWAY)); + // Shorter by no more than a frame holds. + assert_eq!(reach.count(ms(190), step, at(3_100)), None); assert_eq!( - reach.count(Duration::MAX, step, at(2_030)), + reach.count(Duration::MAX, step, at(3_110)), Some(moq_mux::container::DELAY_MAX) ); + assert_eq!(reach.count(Duration::MAX, step, at(3_120)), None, "capped"); } /// Copy `name` from `from` into `to` as its groups arrive, but of the group From b100663026c0282422d8c23f28477d3d764bd089 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Mon, 23 Nov 2026 11:44:11 -0800 Subject: [PATCH 4/4] quest: hold layer-delay on a moq investigation of why a short Delay::max drops retransmittable video Co-Authored-By: Claude Sonnet 5.5 --- quest/m2/compose/layer-delay.md | 67 +++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 quest/m2/compose/layer-delay.md diff --git a/quest/m2/compose/layer-delay.md b/quest/m2/compose/layer-delay.md new file mode 100644 index 00000000..a419a6b4 --- /dev/null +++ b/quest/m2/compose/layer-delay.md @@ -0,0 +1,67 @@ +# [S] A lost group stalls a layer no longer than its offset + +## Goal + +A layer's pictures wait in their subscription only as long as that layer +plays behind, its own offset plus the viewer's playout, so a lost group +stalls a guest close to live for that long, not for the fixed `LAYER_DELAY` +(two full playouts) every layer holds today. + +## Plan + +Decided 2026-11-20 (maintainer, /quest-plan): ✅ the studio sets each layer's +`Delay::max` from its own composition offset (rejected: a moq-net subscription +that skips by a reader's deadline apart from `Delay::max`, which is the same +thing once the max matches how far behind the reader plays; leaving it). + +`LAYER_DELAY` in `rs/moq-scene/src/source.rs` bounds every layer's video and +sound (`follow_video` and `follow_audio`), since its pictures wait undecoded +in the subscription. Its doc counts two playouts, the studio's of the layer's +broadcast, which the offset carries, and the viewer's of the program; keep +the viewer's in the per-layer max. A layer's offset changes with each +composition. Sound moves its max in place with +`moq_audio::decode::Consumer::set_max_delay`, as `moq play` does; moq_video's +decode consumer has no such setter, so recommended: resubscribe a layer's +video when its offset moves more than a frame from the one its max was set +for, shrinking as well as growing, rather than on every change. Alternatives: add a `set_max_delay` to moq_video's decode +consumer in moq first, mirroring moq_audio's, or have the layer read pictures +out at once into a queue of its own and keep the subscription's max small; +pick whichever measures better on a lossy link. + +Found by [moq-dev/studio#146](https://github.com/moq-dev/studio/pull/146). + +Built in [moq-dev/studio#231](https://github.com/moq-dev/studio/pull/231): each +layer measures the longest wait between a frame arriving and coming due, plus +a 100 ms `LEEWAY` (`VIDEO_DELAY`), and sets its `Delay::max` from that, not +from the offset, which also carries the two publishers' clock difference. +Video resubscribes when the reach moves; sound moves its max in place. +A deterministic test shows a lost group now stalls a layer within its lag, not +`LAYER_DELAY`. + +Decided 2026-11-23 (maintainer, via /quest-run), after measuring on a lossy +link (loopback `netem`, two 320x180 30 fps broadcasts with a 1 s GOP, a layer +about 400 ms behind): under 1% loss plus a 600 ms outage every 5 s, the layer +stalled 0.77 of the program's stall with this max, against 0.63 with +`LAYER_DELAY`, and 0.69 with a 500 ms leeway. Random loss of 2% and 5% did +not stall it. An outage's data is retransmitted, not lost, yet a max close to +the lag drops it. Likely cause: a skipped group takes its group of pictures' +on-time tail with it. + +- ✅ Hold this PR until moq explains why a short `Delay::max` drops video that + retransmission would deliver in time (rejected: land as is; land with a + 500 ms `LEEWAY`). Resume once it lands, with the studio's `LEEWAY` and + resubscribe policy set from what moq changes. +- ✅ No in-place `set_max_delay` on `moq_video::decode::Consumer` for this + quest (rejected: plan it in moq now). It measured no better on stalls than + resubscribing; revisit in moq only if decoder reopen CPU shows up once this + lands. + +## Waiting + +- moq-dev/moq: the investigation into why a short `Delay::max` drops video + that retransmission would deliver in time lands. Check: a moq quest named + for it has merged on moq's `main`, deleting its file, with a moq-side test + that a group arriving late within the reader's lag is delivered, not + skipped; then bump the `moq` gitlink here and re-measure the outage runs in + [moq-dev/studio#231](https://github.com/moq-dev/studio/pull/231). A quest + file that moved, or went away without its work landing, does not count.