mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Parameterize LiveKit URL
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
376e674748
commit
37ca5651ee
1 changed files with 2 additions and 3 deletions
|
@ -30,6 +30,7 @@ fn main() {
|
|||
}],
|
||||
}]);
|
||||
|
||||
let live_kit_url = std::env::var("LIVE_KIT_URL").unwrap();
|
||||
let live_kit_key = std::env::var("LIVE_KIT_KEY").unwrap();
|
||||
let live_kit_secret = std::env::var("LIVE_KIT_SECRET").unwrap();
|
||||
|
||||
|
@ -45,9 +46,7 @@ fn main() {
|
|||
cx.foreground()
|
||||
.spawn(async move {
|
||||
println!("connecting...");
|
||||
room.connect("wss://zed.livekit.cloud", &token)
|
||||
.await
|
||||
.unwrap();
|
||||
room.connect(&live_kit_url, &token).await.unwrap();
|
||||
let windows = live_kit::list_windows();
|
||||
println!("connected! {:?}", windows);
|
||||
|
||||
|
|
Loading…
Reference in a new issue