Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(captioning): correct web-demuxer.wasm URL — transcription always failed with "Failed to fetch"

superkc202645c4c8ed8b7f
diff --git a/src/lib/captioning/extractMono16kWebDemuxer.ts b/src/lib/captioning/extractMono16kWebDemuxer.ts
index 641f26351..0d1a2ba78 100644
--- a/src/lib/captioning/extractMono16kWebDemuxer.ts
+++ b/src/lib/captioning/extractMono16kWebDemuxer.ts
@@ -7,7 +7,7 @@ const SOURCE_LOAD_TIMEOUT_MS = 60_000;
const READ_END_PADDING_SEC = 0.5;
function webDemuxerWasmUrl(): string {
- return new URL("../exporter/wasm/web-demuxer.wasm", window.location.href).href;
+ return new URL("./wasm/web-demuxer.wasm", window.location.href).href;
}
/** Mixes one WebCodecs AudioData frame down to mono (averaged across channels). */