LiveKit Cloud rejects room-join tokens as revoked when their `nbf` predates a participant revocation. Zed generated those LiveKit JWTs with `nbf: 0`, so a fresh participant token minted after stale connection cleanup could still appear older than the cleanup and leave a user joined at the collab layer without audio or screen sharing. This sets `nbf` to the issuance time for room-join tokens while leaving admin/API tokens unchanged, and adds regression coverage at the token, mock LiveKit, and channel rejoin layers. Closes FR-83 Release Notes: - Fixed calls getting stuck without audio or screen sharing after restarting Zed and rejoining a channel.
34 lines
645 B
TOML
34 lines
645 B
TOML
[package]
|
|
name = "livekit_api"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
description = "SDK for the LiveKit server API"
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/livekit_api.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
jsonwebtoken = { workspace = true, features = ["aws_lc_rs"] }
|
|
log.workspace = true
|
|
prost.workspace = true
|
|
prost-types.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
|
|
[build-dependencies]
|
|
prost-build.workspace = true
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["prost-types"]
|