Docs / sessions
Sessions & LiveKit tokens
Create
POST /v1/sessions (or console equivalent) returns mode, state, livekitUrl, and a short-lived clientToken.
Connect
Browser connects to LiveKit with the client token. Camera publishes inbound; worker may publish lyrvio-output.
Refresh & end
Refresh tokens before expiry. End sessions to free worker capacity and close rooms cleanly.
Modes
LIVE_AI_EXPERIMENTAL, PASSTHROUGH, RECORDED_SAMPLE, UNAVAILABLE — never conflate them in product UI.