introduce LiveKitAPI construct, added smoke tests#1220
Merged
Conversation
davidzhao
commented
Jul 6, 2026
Member
- simpler constructor for interacting with various services
- ability to be used without api key/token, but with just a secret
- full smoke tests to ensure correct token permissions, request encoding
- added missing SIP APIs, achieves parity with other SDKs
- simpler constructor for interacting with various services - ability to be used without api key/token, but with just a secret - full smoke tests to ensure correct token permissions, request encoding - added missing SIP APIs, achieves parity with other SDKs
Contributor
ChangesetThe following package versions will be affected by this PR:
|
1egoman
reviewed
Jul 6, 2026
Comment on lines
+83
to
+84
| let token = if let Some(token) = &self.token { | ||
| token.clone() |
Contributor
There was a problem hiding this comment.
suggestion: same comment as I left on the node one, it might be nice to have an "token expired" event here and some way a user can regenerate the token before continuing with making the request.
Member
Author
There was a problem hiding this comment.
I don't know that this makes a difference.. the server will be the authority here and it'll specify all the reasons why the token is incorrect.
client-side clocks could be desynced, so it's possible for the client to think it's not expired, but for the server to indicate that it is.. or vice versa.
ladvoc
reviewed
Jul 6, 2026
Member
Author
1egoman
approved these changes
Jul 7, 2026
Merged
ladvoc
pushed a commit
that referenced
this pull request
Jul 9, 2026
> [!IMPORTANT] > Merging this pull request will create these releases # livekit-api 0.5.5 (2026-07-09) ## Features - feat: auto failover APIs with LK Cloud - #1196 (@davidzhao) - introduce LiveKitAPI construct, added smoke tests - #1220 (@davidzhao) # livekit-datatrack 0.1.10 (2026-07-09) ## Fixes - Handle data track SID reassignment - introduce LiveKitAPI construct, added smoke tests - #1220 (@davidzhao) # webrtc-sys 0.3.37 (2026-07-09) ## Fixes - Fix malformed RTC error handling # libwebrtc 0.3.40 (2026-07-09) ## Fixes - Fix malformed RTC error handling - introduce LiveKitAPI construct, added smoke tests - #1220 (@davidzhao) # livekit 0.7.51 (2026-07-09) ## Fixes - feat: auto failover APIs with LK Cloud - #1196 (@davidzhao) - Fix for dynacast error - #1213 (@MaxHeimbrock) - Fix malformed RTC error handling - Handle data track SID reassignment - introduce LiveKitAPI construct, added smoke tests - #1220 (@davidzhao) - Turn single peerconnection on by default - #1206 (@cnderrauber) # livekit-ffi 0.12.69 (2026-07-09) ## Fixes - feat: auto failover APIs with LK Cloud - #1196 (@davidzhao) - Fix for dynacast error - #1213 (@MaxHeimbrock) - Fix malformed RTC error handling - Handle data track SID reassignment - introduce LiveKitAPI construct, added smoke tests - #1220 (@davidzhao) - Turn single peerconnection on by default - #1206 (@cnderrauber) # livekit-uniffi 0.1.4 (2026-07-09) ## Features - Add a Dart bindings target. Bumps the crate's UniFFI dependency from 0.30 to 0.31 to match the bindgen. Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.