Raise hosted web player jitter budget
Some checks are pending
ci-gates / checks (push) Waiting to run
deploy-cloudflare / checks (push) Waiting to run
deploy-cloudflare / deploy (push) Blocked by required conditions

This commit is contained in:
every.channel 2026-05-03 21:05:51 -07:00
parent 64e5ee3965
commit 978f1444df
No known key found for this signature in database
2 changed files with 27 additions and 1 deletions

View file

@ -15,7 +15,7 @@ const HLS_MODULE_URLS = [
"https://unpkg.com/hls.js@1.6.2/dist/hls.mjs",
];
const PUBLIC_STREAMS_PATH = "/api/public-streams";
const LIVE_JITTER_MS = 750;
const LIVE_JITTER_MS = 1250;
let moqWatchModulePromise = null;
let hlsModulePromise = null;
let disposePlayerSignals = null;

View file

@ -0,0 +1,26 @@
# ECP-0115: Hosted Web Player Jitter Budget
Status: Draft
## Problem / context
After redeploying the hosted `every.channel` web watcher, a live relay smoke stream subscribed and rendered video, but Chromium still logged repeated `seeking backward` corrections around 0.75 seconds. Those corrections are the same symptom class that presents as choppy live audio.
## Decision
Raise the hosted web watcher's live jitter budget from 750 ms to 1250 ms.
## Consequences
- The web player has more headroom before it seeks backward during relay/source timing jitter.
- Hosted live playback trades roughly another half second of latency for smoother audio.
- The change is limited to the web watcher; publisher and archive behavior remain unchanged.
## Alternatives considered
- Keep 750 ms. Rejected because the deployed smoke stream still produced repeated correction warnings near that threshold.
- Jump to 1500 ms or higher. Deferred because the smaller increase should address the observed threshold while avoiding unnecessary latency.
## Rollout / teardown
Deploy the updated web asset to Cloudflare and verify the live `app.js` constant. Teardown is restoring the 750 ms value.