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

File diff suppressed because one or more lines are too long