-
Notifications
You must be signed in to change notification settings - Fork 219
Extract livekit-signaling (and an unexpected eide effect, livekit-region) from livekit-api
#1345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c125693
refactor: extract region discovery into livekit-region
1egoman d701fda
fix: remove duplicate livekit-token declarations
1egoman 9462947
refactor: extract the signalling client into livekit-signaling
1egoman 11163fe
fix: update dependencies in changesets
1egoman 794e537
fix: add lukas as signaling codeowner
1egoman ac64cb0
docs: clean up comment noise in Cargo.toml
1egoman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| livekit-api: patch | ||
| livekit: patch | ||
| livekit-ffi: patch | ||
| livekit-region: patch | ||
| --- | ||
|
|
||
| Moves the internal region-discovery cache into a new `livekit-region` crate. No | ||
| public API or behaviour change. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| livekit-api: patch | ||
| livekit: patch | ||
| livekit-ffi: patch | ||
| livekit-signaling: patch | ||
| --- | ||
|
|
||
| Moves the signalling client into a new `livekit-signaling` crate. livekit-api | ||
| re-exports it under the historical `livekit_api::signal_client` path, now marked | ||
| deprecated: it is internal SDK API, and dependents should use livekit-signaling | ||
| directly. livekit-api no longer depends on livekit-net. | ||
|
|
||
| Also drops two dependencies that were declared but never used: `scopeguard` and | ||
| `bytes`. |
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| [package] | ||
| name = "livekit-region" | ||
| version = "0.1.0" | ||
| license.workspace = true | ||
| description = "Internal region-discovery cache shared by the LiveKit signalling and server-API clients" | ||
| edition.workspace = true | ||
| repository.workspace = true | ||
| readme = "README.md" | ||
|
|
||
| [dependencies] | ||
| serde = { workspace = true, features = ["derive"] } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # LiveKit Region | ||
|
|
||
| An internal crate holding the region-discovery cache shared by the LiveKit | ||
| signalling client and the server-API failover path: the `/settings/regions` | ||
| response types, the cloud-host and `Cache-Control` helpers, and `RegionCache`. | ||
|
|
||
| To build applications with LiveKit, please use the public APIs provided by the | ||
| [livekit](../livekit) and [livekit-api](../livekit-api) crates. |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not convinced this is a good idea - a LLM did this. Should there instead be a
livekit-signalingspecific ci job instead? Or maybe there's an argument I should keep things as they are and let lukas take over refining this as part of the signaling work more generally.