mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 21:04:23 +00:00
1235d0808e
See https://github.com/livekit/rust-sdks/pull/355 Todo: * [x] make `call` / `live_kit_client` crates use the livekit rust sdk * [x] create a fake version of livekit rust API for integration tests * [x] capture local audio * [x] play remote audio * [x] capture local video tracks * [x] play remote video tracks * [x] tests passing * bugs * [x] deafening does not work (https://github.com/livekit/rust-sdks/issues/359) * [x] mute and speaking status are not replicated properly: (https://github.com/livekit/rust-sdks/issues/358) * [x] **linux** - crash due to symbol conflict between WebRTC's BoringSSL and libcurl's openssl (https://github.com/livekit/rust-sdks/issues/89) * [x] **linux** - libwebrtc-sys adds undesired dependencies on `libGL` and `libXext` * [x] **windows** - linker error, maybe related to the C++ stdlib (https://github.com/livekit/rust-sdks/issues/364) ``` libwebrtc_sys-54978c6ad5066a35.rlib(video_frame.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in libtree_sitter_yaml-df6b0adf8f009e8f.rlib(2e40c9e35e9506f4-scanner.o) ``` * [x] audio problems Release Notes: - Switch from Swift to Rust LiveKit SDK 🦀 --------- Co-authored-by: Mikayla Maki <mikayla@zed.dev> Co-authored-by: Conrad Irwin <conrad@zed.dev> Co-authored-by: Kirill Bulatov <kirill@zed.dev> Co-authored-by: Michael Sloan <michael@zed.dev>
62 lines
1.3 KiB
TOML
62 lines
1.3 KiB
TOML
[package]
|
|
name = "live_kit_client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Logic for using LiveKit with GPUI"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/live_kit_client.rs"
|
|
doctest = false
|
|
|
|
[[example]]
|
|
name = "test_app"
|
|
|
|
[features]
|
|
no-webrtc = []
|
|
test-support = [
|
|
"collections/test-support",
|
|
"gpui/test-support",
|
|
"nanoid",
|
|
]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
collections.workspace = true
|
|
cpal = "0.15"
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
http_2 = { package = "http", version = "0.2.1" }
|
|
live_kit_server.workspace = true
|
|
log.workspace = true
|
|
media.workspace = true
|
|
nanoid = { workspace = true, optional = true}
|
|
parking_lot.workspace = true
|
|
postage.workspace = true
|
|
util.workspace = true
|
|
http_client.workspace = true
|
|
|
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
|
livekit.workspace = true
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation.workspace = true
|
|
|
|
[dev-dependencies]
|
|
collections = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
nanoid.workspace = true
|
|
sha2.workspace = true
|
|
simplelog.workspace = true
|
|
|
|
[build-dependencies]
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["serde_json"]
|