feat: update LiveKit configuration and enhance collaboration session handling

- Updated the `livekit-server-sdk` version to 2.9.2 for improved functionality.
- Refactored `LiveKitEgressService` to include validation for required environment variables and added a method to stop recording.
- Enhanced `LiveKitRoomService` to validate environment variables and dynamically set egress configurations for recording sessions.
- Modified `CollaborationSessionSchema` to correct the relation name for `chatRoom` and updated the schema to reflect the new structure.
- Improved error logging for better traceability during collaboration session creation.
This commit is contained in:
2024-12-05 16:51:19 +07:00
parent 7248ea257f
commit 0b3f4d6728
6 changed files with 76 additions and 783 deletions

View File

@@ -79,7 +79,7 @@
"graphql-ws": "^5.16.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"livekit-server-sdk": "^2.7.3",
"livekit-server-sdk": "2.9.2",
"luxon": "^3.5.0",
"minio": "^8.0.1",
"nestjs-minio": "^2.6.2",