Files
Esiah c6b08b4812
CD — Kai-Sa-Cam Deployment / deploy (push) Successful in 1m59s
feat: handle Cloudflare Access session expiry and serve go2rtc same-origin
- add apiFetch wrapper with re-auth popup, retry and session monitor
- proxy go2rtc through the app (/go2rtc) and drop the public stream hostname
- route WebSocket upgrades manually (the talk WSS was rejecting go2rtc MSE)
- harden talkback: paplay error handling, heartbeat, single speaker, reconnect
- sync recording state with the server on load and on 409
- optionally verify Cf-Access-Jwt-Assertion (CF_ACCESS_TEAM_DOMAIN/AUD)
- keep go2rtc on the internal network only
- remove unused env vars, update README and cam-watch script
2026-10-26 00:50:08 +01:00

18 lines
440 B
Bash

# --- INFRASTRUCTURE ---
TZ=Europe/Paris
USER_ID=1001
GROUP_ID=1001
# --- APP ---
APP_ORIGIN=https://kaisa.esiah.dev
LOG_LEVEL=info
MAX_RECORDING_MINUTES=120
DISK_MIN_FREE_GB=2
# --- CLOUDFLARE ACCESS (validation du JWT côté serveur, optionnel) ---
CF_ACCESS_TEAM_DOMAIN=https://esiah-dev.cloudflareaccess.com
CF_ACCESS_AUD=
# --- AUDIO / BLUETOOTH (host side) ---
PULSE_SERVER=unix:/run/user/1001/pulse/native
BT_MAC=69:B2:C0:04:A4:80