5e74f0dcdf
Implémentation du serveur Node.js avec intégration LiveKit et API REST complète : - Serveur Express avec API REST (endpoints /config, /token, /health) - Génération tokens JWT LiveKit pour authentification clients - Configuration YAML pour groupes et canaux audio - Support mode cloud LiveKit (pas de binaire requis pour Phase 1) - Logging structuré avec niveaux configurables - Gestion propre du lifecycle (SIGTERM, SIGINT) Endpoints fonctionnels : - GET /config : retourne configuration groupes/canaux - POST /token : génère token LiveKit pour un utilisateur/groupe - GET /health : health check du serveur - GET / : informations serveur Phase 1.2 complétée : Infrastructure serveur opérationnelle 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
600 B
JSON
28 lines
600 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": {
|
|
"express": "^4.19.2",
|
|
"livekit-server-sdk": "^2.6.0",
|
|
"yaml": "^2.4.2",
|
|
"ws": "^8.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|