From 0d5baab4c1a183f8823ddb905e14fc398585d787 Mon Sep 17 00:00:00 2001
From: TheCryptoDonkey <147930957+TheCryptoDonkey@users.noreply.github.com>
Date: Tue, 27 Oct 2026 11:30:24 +0000
Subject: [PATCH] Retire only the viewer-owned TURN relay allocation on renewal
---
docs/media-showcase.md | 7 ++--
site/live-media.html | 2 +-
site/media-lab.html | 2 +-
site/media-lab.mjs | 4 +-
site/media-public-swarm.mjs | 7 ++--
site/template.html | 2 +-
test/media-public-swarm.test.mjs | 70 ++++++++++++++++++++++++++++++--
7 files changed, 80 insertions(+), 14 deletions(-)
diff --git a/docs/media-showcase.md b/docs/media-showcase.md
index 65aba8a..aa27f27 100644
--- a/docs/media-showcase.md
+++ b/docs/media-showcase.md
@@ -823,9 +823,10 @@ new peer connections. The supported public service contract freshly mints one-ho
credentials. The client keeps a conservative monotonic lifetime, charging
request/body time and a rounding margin; a wall-clock correction can only
shorten it. Renewal starts after two thirds of the remaining lifetime.
-New peer connections use the latest credential. Relayed connections retire
-shortly before their old credential expires so the SDK can reconnect while
-the playing HLS instance and verified cache survive. Pause cancels renewal.
+New peer connections use the latest credential. Connections using this viewer's
+local relay allocation retire shortly before its old credential expires so the
+SDK can reconnect while the playing HLS instance and verified cache survive.
+Pause cancels renewal.
Diagnostics expose availability and expiry duration, never the credential.
An unconfigured public relay causes no request, timer or startup delay;
diff --git a/site/live-media.html b/site/live-media.html
index 2a6a612..20a8a30 100644
--- a/site/live-media.html
+++ b/site/live-media.html
@@ -123,6 +123,6 @@
-
+