Files
Kai-Sa-Cam/apps/kai-sa-cam/package.json
T
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

38 lines
1.1 KiB
JSON

{
"name": "kai-sa-cam",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build && esbuild src/server/index.ts --bundle --platform=node --format=cjs --outfile=dist/server/index.cjs --external:express --external:http-proxy-middleware --external:ws --external:archiver --external:ffmpeg-static",
"preview": "vite preview",
"server": "node --watch dist/server/index.cjs",
"start": "node dist/server/index.cjs"
},
"dependencies": {
"archiver": "^7.0.1",
"express": "^4.19.2",
"ffmpeg-static": "^5.2.0",
"http-proxy-middleware": "^3.0.0",
"jose": "^6.2.13",
"ws": "^8.17.0"
},
"devDependencies": {
"@types/archiver": "^6.0.2",
"@types/express": "^4.17.21",
"@types/node": "^20.12.7",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/ws": "^8.5.10",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"esbuild": "^0.21.3",
"postcss": "^8.4.38",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5",
"vite": "^5.2.11"
}
}