big-controller-60015
05/16/2025, 10:35 AMtall-airline-16756
05/16/2025, 10:35 AMtall-airline-16756
05/16/2025, 10:35 AMwith_ttl
method in LiveKit's AccessToken
class is used to set the time-to-live (TTL) for an access token. This determines how long the token will remain valid. It takes a datetime.timedelta
parameter to specify the duration and returns the AccessToken
instance for method chaining. This is part of the fluent interface for creating access tokens in LiveKit.
Sources: livekit.api API documentation