Hello LiveKit Support Team,
We are developing platform using LiveKit Cloud for realtime audio/video transport, with PostgreSQL as the authoritative source of state.
We are implementing high-availability coordinator recovery and need a supported way to retire all credentials belonging to an old coordinator generation before admitting participants under a new generation.
Our investigation identified an ambiguity between LiveKit’s Cloud documentation and public protocol definition concerning RemoveParticipant, revoke_token_ts, default cutoff behavior and refreshed access tokens.
Could your engineering team clarify the following?
-
Is there a supported server-authoritative operation that strictly revokes all original and automatically refreshed tokens for a participant or room, without requiring the client to estimate LiveKit Cloud’s current time?
-
What exact cutoff does
RemoveParticipantapply whenrevoke_token_tsis omitted? Is it server time, server time plus 60 seconds, or another value? -
What comparison is used against token
nbfvalues, including equality and Unix-second precision? -
Can an older or delayed
RemoveParticipantrequest with a lower cutoff reduce or undo the revocation established by a newer request? -
Does successful API acknowledgment guarantee that affected tokens can no longer reconnect, including refreshed tokens and tokens already issued but not yet used?
-
Are there propagation delays, room-server transitions or other conditions that prevent immediate global enforcement?
-
Is there a supported way to revoke an entire old-generation room’s access credentials and confirm completion before admitting participants into a replacement room?
-
If strict retirement cannot be guaranteed through the current API, what approach does LiveKit recommend for security-sensitive coordinator failover?
Our intended design uses separate rooms for coordinator generations, database-backed ownership fencing and fail-closed media admission during uncertain handover.
We would appreciate explicit confirmation of the supported guarantees and any limitations, ideally with references to the relevant Cloud implementation or authoritative API contract.
We are not requesting credentials or access to customer data.
Thank you.