Phase 2 backend: LiveKit voice integration

Backend:
- internal/voice/client.go: LiveKit token generation, room management, participant listing
- internal/voice/handlers.go: POST /voice/token, GET /voice/rooms/{roomID}/participants
- internal/gateway/events.go: added VOICE_JOIN, VOICE_LEAVE, VOICE_MUTE, VOICE_DEAFEN events
- cmd/server/main.go: wired voice client and routes under /api/v1/voice
- Docker: livekit.yaml config verified

Frontend deps:
- Added livekit-client and @livekit/components-react packages
This commit is contained in:
2026-06-28 16:21:16 -04:00
parent c4597e6c79
commit 8ee0ce657f
8 changed files with 569 additions and 6 deletions
+2 -1
View File
@@ -10,7 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"livekit-client": "^2.3.1",
"@livekit/components-react": "^2.9.21",
"livekit-client": "^2.20.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.1",