Streams

Renew stream lease

Renews the stream lease and returns a fresh publish token. Clients should renew before the 5-minute lease expires, for example every 4 minutes, and pass the returned token to the LiveKit SDK with room.updateToken(...).

post/streams/{stream_id}/keepalive

Response

Lease renewed.

idstring uuid required
expires_at_msinteger required
ttl_secondsinteger required
stream_time_msnumber

Current stream-clock position in ms.

Example response

{
  "ttl_seconds": 300
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.