feat: configuration portable - URLs et devices auto-détectés
Changements pour rendre l'installation portable : 1. Config réseau auto-détectée - config.yaml : LIVEKIT_URL = AUTO (au lieu de IP hardcodée) - Devices audio : null par défaut (auto-détection) 2. Client .env dynamique - Ajout client/.env.example avec documentation - VITE_API_URL configurable pour dev/prod 3. Vite config dynamique - Utilisation de loadEnv() pour variables d'environnement - Proxies configurables via VITE_API_URL et VITE_LIVEKIT_URL 4. Install script amélioré - Détection automatique IP réseau au moment install - Génération .env client avec IP détectée - Messages informatifs avec IP du serveur 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,8 +4,10 @@ audio:
|
||||
defaultBitrate: 96
|
||||
jitterBufferMs: 40
|
||||
device:
|
||||
inputDeviceId: Microphone MacBook Pro
|
||||
outputDeviceId: Haut-parleurs MacBook Pro
|
||||
# Laissez null pour auto-détection du device par défaut
|
||||
# Ou spécifiez le nom exact via l'interface /admin
|
||||
inputDeviceId: null
|
||||
outputDeviceId: null
|
||||
sampleRate: 48000
|
||||
routing:
|
||||
inputToGroup:
|
||||
@@ -50,7 +52,7 @@ server:
|
||||
host: 0.0.0.0
|
||||
port: 3000
|
||||
livekit:
|
||||
url: ws://192.168.0.146:7880
|
||||
url: AUTO # AUTO = détection automatique IP réseau | ou ws://IP:7880 pour manuel
|
||||
logging:
|
||||
level: info # Changez à 'debug' pour voir plus de détails
|
||||
logLatency: false
|
||||
|
||||
Reference in New Issue
Block a user