feat: implement LiveKit server API with REST endpoints

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>
This commit is contained in:
2026-05-21 14:36:32 +02:00
parent 47db08fff7
commit 5e74f0dcdf
4 changed files with 309 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
# PTT Live - Configuration environnement serveur
# LiveKit API Keys
# En dev, utilise les valeurs par défaut si non définies
LIVEKIT_API_KEY=devkey
LIVEKIT_API_SECRET=secret
# Optionnel : override URL LiveKit
# LIVEKIT_URL=ws://localhost:7880