Add opt-in WASM AEC3 echo canceller for speaker+mic setups

Off-by-default toggle in the recording options (Aufnahmeoptionen), using
@ennuicastr/webrtcaec3.js (Google WebRTC's AEC3, compiled to WASM) as a
stronger supplement to native browser echo cancellation - addresses the
speaker+studio-mic (no headset) case from issue #2. Native echoCancellation
is turned off while this is enabled since running both fights the same
signal. Assets are synced from node_modules into public/vendor/ at
dev/build time rather than committed, since the module's glue code needs
its .wasm co-located under an exact, unhashed filename.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Sonnet 5 committed 2026-09-17 18:12:52 +00:00
1 parent 390a2b5749
commit 258d108f59
9 files changed
+207 -98

No files matched your search

+3
View File
@@ -13,3 +13,6 @@ CLAUDE.md
# TLS material for local HTTPS - a private key never belongs in the repo.
gateway/certs/
# Prebuilt WASM assets synced from node_modules by scripts/sync-aec3-assets.mjs
web/public/vendor/