LiveKit rooms
Audio and video rooms for groups via a LiveKit server, signed with livekit JWTs.
Setup
- Set
relay.livekit_url,relay.livekit_api_keyandrelay.livekit_api_secretin the config file. - Add the
livekittag to a group's metadata via an admin'skind:9002edit. - Clients fetch a JWT from
/.well-known/nip29/livekit/<group-id>with NIP-98 auth (a pubkey banned with NIP-86banpubkeyis refused).
Checking support
sh
curl -i http://127.0.0.1:8080/.well-known/nip29/livekit204 means the room server is enabled.
Configuration
toml
[relay]
livekit_url = "wss://livekit.example.com"
livekit_api_key = "..."
livekit_api_secret = "..."