is there grant access recorder in token?
# ask-ai
r
is there grant access recorder in token?
t
Thanks for reaching out, Bil. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to let you know that LiveKit does support granting access to the recorder through a token! You can do this by setting the
recorder
field in the
VideoGrant
of the JWT token to
true
. This way, the participant is recognized as a recorder, and the room knows it's being recorded. This feature works across several SDKs like Swift, Ruby, Rust, Kotlin, and Node.js. If you'd like, just tell me which SDK you're working with, and I'd be glad to walk you through the specific steps to get this set up smoothly. Sources: src/main/kotlin/io/livekit/server/VideoGrant.kt | packages/livekit-server-sdk/src/grants.ts | Custom recording templates | LiveKit docs | cmd/lk/token.go | Sources/LiveKit/Token/JWT.swift