v0.0.47: integrate 6 WZP audio variants into featherChat calls
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>
This commit is contained in:
@@ -2,16 +2,23 @@
|
||||
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}
|
||||
}
|
||||
|
||||
# Audio bridge WebSocket (wzp-web)
|
||||
handle_path /audio/* {
|
||||
reverse_proxy wzp-web:8080
|
||||
}
|
||||
|
||||
# Everything else → featherChat server
|
||||
reverse_proxy warzone-server:7700
|
||||
}
|
||||
|
||||
@@ -24,4 +24,7 @@ RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/
|
||||
COPY --from=builder /build/warzone-phone/target/release/wzp-relay /usr/local/bin/
|
||||
COPY --from=builder /build/warzone-phone/target/release/wzp-web /usr/local/bin/
|
||||
|
||||
# Copy static files for wzp-web (HTML, JS, WASM)
|
||||
COPY --from=builder /build/warzone-phone/crates/wzp-web/static /data/static
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
Reference in New Issue
Block a user