envs

LiveKit — realtime audio and video

livekit/realtime · version 1

envs add livekit/realtime

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
LIVEKIT_URL required config The websocket endpoint, handed to the browser alongside a token and passed straight into connect. An address, not a credential.. where to get it
LIVEKIT_API_KEY required secret LiveKit says generating a token requires the API keys, so it must happen on a backend server and be sent to the frontend. The browser never holds this. Names come from LiveKit's own sample environment file.. where to get it
LIVEKIT_API_SECRET required secret Signs the per-participant JWT. LiveKit says tokens are signed with the API secret to prevent forgery, which is the whole reason it stays server-side.. where to get it

The JSON the CLI reads