fix: shutdown propre sans erreurs

Problèmes corrigés pendant l'arrêt serveur :
1. RangeError offset bounds : vérification availableSpace avant .set()
2. audioBackend null : vérification avant queueAudio()
3. LiveKit track not found : try/catch sur unpublishTrack

Shutdown maintenant sans erreurs fatales.
This commit is contained in:
2026-05-28 16:13:35 +02:00
parent d908cf4ee6
commit c9ec10dfd9
5 changed files with 27 additions and 11 deletions
+4 -6
View File
@@ -4,10 +4,8 @@ audio:
defaultBitrate: 96
jitterBufferMs: 40
device:
# Laissez null pour auto-détection du device par défaut
# Ou spécifiez le nom exact via l'interface /admin
inputDeviceId: alsa_input.pci-0000_00_01.0.analog-stereo
outputDeviceId: alsa_output.pci-0000_00_01.0.analog-stereo
inputDeviceId: Microphone MacBook Pro
outputDeviceId: Haut-parleurs MacBook Pro
sampleRate: 48000
routing:
inputToGroup:
@@ -52,8 +50,8 @@ server:
host: 0.0.0.0
port: 3000
livekit:
url: AUTO # AUTO = détection automatique IP réseau | ou ws://IP:7880 pour manuel
url: AUTO
logging:
level: debug # Changez à 'debug' pour voir plus de détails
level: debug
logLatency: false
logAudioStats: false