feat: video publishing (#42)
- Prepare webrtc abstraction ( for future wasm support ) - Added track publish support for videos - Added LogoTrack example to simple_room demo - Lot of cleanup - There are compiler warnings I'll solve on our v1 release
This commit is contained in:
@@ -8,12 +8,35 @@ description = "Livekit safe bindings to libwebrtc"
|
||||
repository = "https://github.com/livekit/client-sdk-rust"
|
||||
|
||||
[dependencies]
|
||||
webrtc-sys = { path = "../webrtc-sys", version = "0.1.1" }
|
||||
livekit-utils = { path = "../livekit-utils", version = "0.1.1" }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
cxx = "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"] }
|
||||
cxx = "1.0"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "0.2.84"
|
||||
js-sys = "0.3"
|
||||
wasm-bindgen-futures = "0.4.34"
|
||||
web-sys = { version = "0.3.22", features=[
|
||||
"MessageEvent",
|
||||
"RtcPeerConnection",
|
||||
"RtcSignalingState",
|
||||
"RtcSdpType",
|
||||
"RtcSessionDescriptionInit",
|
||||
"RtcPeerConnectionIceEvent",
|
||||
"RtcIceCandidate",
|
||||
"RtcDataChannel",
|
||||
"RtcDataChannelEvent",
|
||||
"RtcDataChannelState",
|
||||
"EventTarget",
|
||||
"WebGlRenderingContext",
|
||||
"WebGlTexture",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.9"
|
||||
|
||||
Reference in New Issue
Block a user