From 0e239935a67689a8ce712e29b3833f687b005380 Mon Sep 17 00:00:00 2001 From: kixelated Date: Sun, 23 Jul 2023 10:28:20 -0700 Subject: [PATCH] Actually drain segments. (#48) --- moq-warp/src/relay/contribute.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/moq-warp/src/relay/contribute.rs b/moq-warp/src/relay/contribute.rs index 2b36f86..0b61fdc 100644 --- a/moq-warp/src/relay/contribute.rs +++ b/moq-warp/src/relay/contribute.rs @@ -275,6 +275,7 @@ impl Publishers { let track = track.as_mut().context("track closed")?; // TODO don't make fatal track.push_segment(segment); + track.drain_segments(time::Instant::now()); Ok(()) }