startAudio() now dynamically loads the selected WZP client variant: - /audio-variant [pure|hybrid|full|ws|ws-fec|ws-full] - Loads variant JS from wzp-web's /audio/js/ path via Caddy - Falls back to inline pure implementation if variant fails to load - Variant persisted in localStorage across sessions - Call bar shows active variant: "In call [ws-fec] with 0x..." Variants: pure — raw PCM over WS (bridge needed, no WASM) hybrid — raw PCM + WASM FEC over WS (bridge needed) full — WebTransport + FEC + crypto (no bridge, future) ws — WZP protocol over WS (relay direct) ws-fec — WZP + WASM FEC over WS (relay direct) ws-full — WZP + FEC + E2E crypto over WS (relay direct) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
351 B
Caddyfile
25 lines
351 B
Caddyfile
{
|
|
email admin@manko.yoga
|
|
}
|
|
|
|
# Wildcard cert for all subdomains
|
|
*.voip.manko.yoga {
|
|
tls {
|
|
dns cloudflare {$CF_API_TOKEN}
|
|
}
|
|
reverse_proxy wzp-web:8080
|
|
}
|
|
|
|
# Main domain — featherChat server
|
|
voip.manko.yoga {
|
|
tls {
|
|
dns cloudflare {$CF_API_TOKEN}
|
|
}
|
|
|
|
handle_path /audio/* {
|
|
reverse_proxy wzp-web:8080
|
|
}
|
|
|
|
reverse_proxy warzone-server:7700
|
|
}
|