feat: server sdk (#47)
* New webrtc build scripts (Still not integrated within the SDK) * New livekit-api crate (Integrate the server sdk protocol of livekit) * Moved livekit-utils to livekit-protocol
This commit is contained in:
@@ -8,21 +8,21 @@ description = "Livekit safe bindings to libwebrtc"
|
||||
repository = "https://github.com/livekit/client-sdk-rust"
|
||||
|
||||
[dependencies]
|
||||
livekit-utils = { path = "../livekit-utils", version = "0.1.1" }
|
||||
livekit-protocol = { path = "../livekit-protocol", version = "0.1.0" }
|
||||
log = "0.4"
|
||||
thiserror = "1.0"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
webrtc-sys = { path = "../webrtc-sys", version = "0.1.1" }
|
||||
futures = { version = "0.3" }
|
||||
tokio = { version = "1.26.0", features = ["full"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
cxx = "1.0"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "0.2.84"
|
||||
wasm-bindgen = "0.2"
|
||||
js-sys = "0.3"
|
||||
wasm-bindgen-futures = "0.4.34"
|
||||
web-sys = { version = "0.3.22", features=[
|
||||
web-sys = { version = "0.3", features=[
|
||||
"MessageEvent",
|
||||
"RtcPeerConnection",
|
||||
"RtcSignalingState",
|
||||
@@ -39,4 +39,4 @@ web-sys = { version = "0.3.22", features=[
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.9"
|
||||
env_logger = "0.10"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use crate::imp::media_stream as imp_ms;
|
||||
use livekit_utils::enum_dispatch;
|
||||
use livekit_protocol::enum_dispatch;
|
||||
use std::fmt::Debug;
|
||||
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user