fix: remplacement http-proxy-middleware par http-proxy natif

http-proxy-middleware ne gere pas correctement WebSocket upgrade avec HTTPS.
Utilisation de http-proxy natif pour proxy direct WSS vers WS.

Modifications:
- Remplacement createProxyMiddleware par httpProxy.createProxyServer
- Gestion native de l'upgrade WebSocket
- Reecriture URL /livekit -> / pour LiveKit
- Logs info niveau pour debug facilite
This commit is contained in:
2026-06-19 14:02:04 +02:00
parent 8d2b83be0a
commit d3558388ad
2 changed files with 22 additions and 18 deletions
+1
View File
@@ -22,6 +22,7 @@
"@livekit/rtc-node": "^0.13.28",
"dotenv": "^17.4.2",
"express": "^4.19.2",
"http-proxy": "^1.18.1",
"http-proxy-middleware": "^4.1.1",
"livekit-server-sdk": "^2.6.0",
"opusscript": "^0.1.1",