d3558388ad
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
40 lines
816 B
JSON
40 lines
816 B
JSON
{
|
|
"name": "ptt-live-server",
|
|
"version": "0.1.0",
|
|
"description": "PTT Live - Professional WebRTC Intercom Server",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"dev": "node --watch index.js",
|
|
"test": "node --test"
|
|
},
|
|
"keywords": [
|
|
"webrtc",
|
|
"intercom",
|
|
"livekit",
|
|
"audio",
|
|
"ptt"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@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",
|
|
"qrcode-terminal": "^0.12.0",
|
|
"ws": "^8.17.0",
|
|
"yaml": "^2.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|