LiveKit rooms

Audio and video rooms for groups via a LiveKit server, signed with livekit JWTs.

Setup

  1. Set relay.livekit_url, relay.livekit_api_key and relay.livekit_api_secret in the config file.
  2. Add the livekit tag to a group's metadata via an admin's kind:9002 edit.
  3. Clients fetch a JWT from /.well-known/nip29/livekit/<group-id> with NIP-98 auth (a pubkey banned with NIP-86 banpubkey is refused).

Checking support

sh
curl -i http://127.0.0.1:8080/.well-known/nip29/livekit

204 means the room server is enabled.

Configuration

toml
[relay]
livekit_url = "wss://livekit.example.com"
livekit_api_key = "..."
livekit_api_secret = "..."
Tip
LiveKit settings are fixed at startup — changing them requires a restart.