nutritious-oyster-4341
08/22/2025, 4:32 PMtall-airline-16756
08/22/2025, 4:32 PMtall-airline-16756
08/22/2025, 4:34 PMfile_outputs option is a great way to go. This makes sure your entire recording gets saved as one file once the session wraps up.
Here’s how you can do it:
1. First, set up a Google Cloud service account and grab the credentials JSON file for authentication.
2. Then, use the LiveKit API to set up a RoomCompositeEgressRequest with file_outputs. Don’t forget to specify the file type (like MP4) and your Google Cloud Storage bucket details.
3. Start recording when the call kicks off and stop it when the call ends. After that, the file will automatically upload to your Google Cloud Storage.
If you want me to share some code examples or if you have any questions, just give me a shout—I’m here to help!
Sources: Recording agent sessions | LiveKit Docs | Session recording and transcripts | LiveKit Docs