refined-psychiatrist-80699
08/26/2025, 6:48 AMtall-airline-16756
08/26/2025, 6:48 AMtall-airline-16756
08/26/2025, 6:49 AMlk agent delete --id <agent_id>
or
lk agent destroy --id <agent_id>
Don’t worry, these commands will ask you to confirm before actually deleting the agent.
Using the SDK:
client := lksdk.NewAgentClient(url, apiKey, apiSecret)
resp, err := client.DeleteAgent(ctx, &livekit.DeleteAgentRequest{
AgentId: "your-agent-id",
})
If you have any questions or need a hand with this, just let me know—I’m here to help!
Sources: livekit/livekit_cloud_agent.pb.go | LiveKit CLI | livekit/livekit_composite | DeepWiki | Agent deployment CLI reference | LiveKit Docs | agent_client.gorefined-psychiatrist-80699
08/26/2025, 7:15 AMtall-airline-16756
08/26/2025, 7:16 AMrefined-psychiatrist-80699
08/26/2025, 7:17 AMtall-airline-16756
08/26/2025, 7:17 AMCallTracker class looks nicely organized for tracking and getting data ready for webhook reporting. To bring LiveKit's transcription data into the mix, you can catch transcription events and add them to your transcript_events list. Here’s a simple way to go about it:
1. Catch Transcription Events: Tune into LiveKit’s transcription stream (like the lk.transcription topic) to get real-time transcription updates. If you’re using Python, the STTSegmentsForwarder class is great for handling events such as FINAL_TRANSCRIPT.
2. Update Your add_transcript_event Method: When you receive a transcription event, just call add_transcript_event with the speaker, text, and timestamp from that event.
3. Send to Webhook: After the call wraps up, use your to_webhook_payload method to get the payload ready, then send it off to your webhook endpoint using an HTTP client like requests.
If you’d like a hand with the exact code for grabbing transcription events or sending the webhook, just give me a shout—I’m happy to help!refined-psychiatrist-80699
08/26/2025, 7:25 AMtall-airline-16756
08/26/2025, 7:26 AMrefined-psychiatrist-80699
08/26/2025, 7:29 AMtall-airline-16756
08/26/2025, 7:29 AMaudio_only parameter to true. You can then save that audio to cloud storage services like AWS S3, Google Cloud Storage, or Azure Blob Storage.
• Track Egress: If you want to send individual audio tracks straight to a destination without any transcoding, this is perfect. It’s great for streaming audio to things like captioning systems via WebSocket.
• RTMP Streaming: You can also stream audio live to platforms like YouTube Live, Twitch, or Facebook using RTMP(S).
If you want, I’d be happy to help you get any of these set up—just let me know!
Sources: Recording and composition | LiveKit Docs | protobufs/livekit_egress.proto | Recording agent sessions | LiveKit Docs | Egress Overview | LiveKit Docs