From 4d43caed9c14bab701ba621127e7aa57cd37a02f Mon Sep 17 00:00:00 2001
From: TheCryptoDonkey <147930957+TheCryptoDonkey@users.noreply.github.com>
Date: Tue, 27 Oct 2026 22:28:26 +0000
Subject: [PATCH 1/2] Pin contiguous startup admission fix in media demo
---
docs/media-showcase.md | 8 ++++++--
scripts/build-media-peer-demo.mjs | 2 +-
site/live-media.html | 2 +-
site/llms.txt | 2 +-
site/media-lab.html | 2 +-
site/media-lab.mjs | 4 ++--
site/media-listener-session.mjs | 2 +-
site/media-public-swarm.mjs | 4 ++--
site/template.html | 2 +-
site/vendor/media-peer-demo.NOTICE.txt | 2 +-
site/vendor/media-peer-demo.build.json | 10 +++++-----
site/vendor/media-peer-demo.js | 8 ++++----
site/vendor/relayswarm-core.NOTICE.txt | 2 +-
site/vendor/relayswarm-transfer-worker.js | 2 +-
14 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/docs/media-showcase.md b/docs/media-showcase.md
index 9c46e16..c3e2d23 100644
--- a/docs/media-showcase.md
+++ b/docs/media-showcase.md
@@ -16,8 +16,8 @@ The recording label sits with the source caption below the player. It does
not cover the picture or Safari’s native fullscreen control when controls
appear.
-The player pins RelaySwarm source `45616b8141987f88e6054e2fdfbeae34710e714b`
-([source change](https://github.com/forgesworn/relayswarm/commit/45616b8141987f88e6054e2fdfbeae34710e714b)).
+The player pins RelaySwarm source `badbee6fd4ccc645565843c534cb80210d9ea26f`
+([source change](https://github.com/forgesworn/relayswarm/commit/badbee6fd4ccc645565843c534cb80210d9ea26f)).
It retains the successful peer receipt's stats when hls.js disposes of the
losing HTTP loader, covered by ten regressions using the actual hls.js 1.7.3
loaders. It also retains a fully verified contiguous future prefix before considering
@@ -36,6 +36,10 @@ playlist revisions. Startup now accepts that difference within a bounded machine
tolerance, capped at one nanosecond, instead of falsely cancelling a matching context; sequence,
continuity, level, key, size and duration checks remain authoritative. This
correction does not establish stall-free or sustained 4K playback.
+Once the current target reaches two verified future fragments, their next
+contiguous successor keeps its fourth-slot admission instead of being skipped
+by the previous fragment's service-time lead. Recovery and deadline checks
+still govern release; this fixes selection rather than proving field playback.
When an owned whole-source response finishes and its key is already known,
eligible retained bytes are announced with HAVE before its FETCH claim is
withdrawn, including synchronous hls.js disposal. Unknown keys do not delay
diff --git a/scripts/build-media-peer-demo.mjs b/scripts/build-media-peer-demo.mjs
index 6a3bffc..ec304d0 100644
--- a/scripts/build-media-peer-demo.mjs
+++ b/scripts/build-media-peer-demo.mjs
@@ -7,7 +7,7 @@ import { tmpdir } from 'node:os';
import { dirname, join, resolve } from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
-const SOURCE = '45616b8141987f88e6054e2fdfbeae34710e714b';
+const SOURCE = 'badbee6fd4ccc645565843c534cb80210d9ea26f';
const sha = bytes => createHash('sha256').update(bytes).digest('hex');
const root = fileURLToPath(new URL('../', import.meta.url));
diff --git a/site/live-media.html b/site/live-media.html
index dcda001..127dc2a 100644
--- a/site/live-media.html
+++ b/site/live-media.html
@@ -123,6 +123,6 @@
-
+