Update hosted web MoQ watcher
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:08:43 -07:00
parent 978f1444df
commit 7c9980667a
No known key found for this signature in database
2 changed files with 30 additions and 3 deletions

View file

@ -4,10 +4,11 @@
// It is intentionally dependency-light: no framework, no bundler.
const DEFAULT_RELAY_URL = "https://cdn.moq.dev/anon";
const MOQ_WATCH_VERSION = "0.2.10";
const MOQ_WATCH_MODULE_URLS = [
"https://esm.sh/@moq/watch@0.2.0/element",
"https://cdn.jsdelivr.net/npm/@moq/watch@0.2.0/element/+esm",
"https://unpkg.com/@moq/watch@0.2.0/element.js?module",
`https://esm.sh/@moq/watch@${MOQ_WATCH_VERSION}/element`,
`https://cdn.jsdelivr.net/npm/@moq/watch@${MOQ_WATCH_VERSION}/element/+esm`,
`https://unpkg.com/@moq/watch@${MOQ_WATCH_VERSION}/element.js?module`,
];
const HLS_MODULE_URLS = [
"https://esm.sh/hls.js@1.6.2",