hallowed-book-84502
08/29/2025, 12:34 PMtall-airline-16756
08/29/2025, 12:34 PMtall-airline-16756
08/29/2025, 12:36 PMsession.history
property to grab the full conversation history. Plus, you can register a shutdown callback to save that history to your database when the session ends.
• Real-Time Logging: By listening to events like user_speech_committed
or agent_speech_committed
, you can capture messages as they happen and save them right away.
• Client Applications: Another option is to capture messages sent or received through LiveKit’s data channels and send them to your backend for storage.
If you’d like, I’m happy to help you figure out how to set this up with a specific database like PostgreSQL or MongoDB, or with a framework such as Node.js or Python. Just let me know!
Sources: Session recording and transcripts | LiveKit Docs | VoicePipelineAgent | LiveKit Docs | packages/react/src/hooks/useChat.ts | Sending text | LiveKit Docs | Sending text | LiveKit Docshallowed-book-84502
08/29/2025, 12:38 PMtall-airline-16756
08/29/2025, 12:38 PM