if i self host my agents but use livekit cloud for...
# ask-ai
w
if i self host my agents but use livekit cloud for voice (webrtc), are the data streams (RPC) encrypted or logged on the livekit cloud servers?
t
Thanks for reaching out, Jimmy. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking whether RPC/data streams are encrypted or logged on LiveKit Cloud when you self‑host agents but use LiveKit Cloud for voice (WebRTC). Here's a concise answer: • Transport encryption: All WebRTC traffic is encrypted in transit with TLS/DTLS. RPC payloads are protected by transport‑layer encryption while traveling through LiveKit Cloud. • End‑to‑end encryption (E2EE): If you enable E2EE in the Room (provide an
encryption
key provider), RPC/data streams are end‑to‑end encrypted so LiveKit Cloud cannot read the payloads. If you do not enable E2EE, LiveKit infrastructure could access payloads for routing while they remain protected only by transport encryption. • Logging/retention: LiveKit Cloud does not record or store audio, video, or RPC payloads. Signaling metadata and connection events may be logged for operational purposes, are encrypted at rest, and are retained for up to 14 days. If you want, I can walk you through enabling E2EE for your rooms or review which fields to set for the
encryption
key provider. Which would you prefer? Sources: LiveKit Security | End-to-end encryption | LiveKit docs
w
does this apply to transcripts streamed to the frontend also?
t
You're asking whether transcripts streamed to the frontend are encrypted or logged. Short answer: • Encryption: Transcripts sent over LiveKit text/data streams are encrypted in transit (TLS). If you enable end-to-end encryption (set the room
encryption
field with a key provider), those text streams (transcripts) are E2EE and LiveKit Cloud cannot read their contents. If E2EE is not enabled, only transport‑layer encryption applies and LiveKit infrastructure could access payloads for routing. • Logging/storage: Transcripts are not uploaded or stored by LiveKit Cloud by default. They are collected and stored only if Agent Observability is enabled for the project (or if you start a session with
record=True
). You can prevent storage for a session by using
record=False
. Observability uploads are retained per the project retention policy. Would you like step‑by‑step help enabling E2EE for a room or verifying your project’s observability/record settings? Sources: Sending text | LiveKit docs | End-to-end encryption | LiveKit docs | Agent insights in LiveKit Cloud | LiveKit docs