Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ tokio = { version = "1", features = ["full", "parking_lot"] }
# egui-wgpu 0.37 requires wgpu ^30.0; "30.0" resolves to a compatible 30.0.x.
wgpu = "30.0"
winit = { version = "0.30.13", features = [ "android-native-activity" ] }
livekit = { version = "0.9.4", features = ["rustls-tls-native-roots"] }
livekit-api = { version = "0.9.0", default-features = false, features = ["access-token"] }
livekit-token-source = { version = "0.1.3", features = ["rustls-tls-native-roots"] }
livekit-capture = { version = "0.1.4", default-features = false, features = ["source-pattern", "source-clock"] }
livekit = { version = "0.10.0", features = ["rustls-tls-native-roots"] }
livekit-api = { version = "0.10.0", default-features = false, features = ["access-token"] }
livekit-token-source = { version = "0.1.4", features = ["rustls-tls-native-roots"] }
livekit-capture = { version = "0.1.8", default-features = false, features = ["source-pattern", "source-clock"] }

# Building against a local rust-sdks checkout (see "Building against a local
# rust-sdks" in README.md). To build against the released crates instead,
Expand Down
6 changes: 3 additions & 3 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::media::{
CaptureSource, CaptureTrack, MicTrack, OnUnpublished, SineParameters, SineTrack,
};
use livekit::{
SimulateScenario, StreamByteOptions, StreamTextOptions,
SendByteOptions, SendTextOptions, SimulateScenario,
e2ee::{E2eeOptions, EncryptionType, key_provider::*},
prelude::*,
track::VideoQuality,
Expand Down Expand Up @@ -498,12 +498,12 @@ async fn service_task(inner: Arc<ServiceInner>, mut cmd_rx: mpsc::UnboundedRecei
tokio::spawn(async move {
let result = match payload {
DataStreamPayload::Text(text) => {
let options = StreamTextOptions::new_with_topic(topic)
let options = SendTextOptions::new_with_topic(topic)
.with_destination_identities(destination_identities);
local.send_text(&text, options).await.map(|info| info.id)
}
DataStreamPayload::Bytes(bytes) => {
let options = StreamByteOptions::new_with_topic(topic)
let options = SendByteOptions::new_with_topic(topic)
.with_destination_identities(destination_identities);
local.send_bytes(bytes, options).await.map(|info| info.id)
}
Expand Down
Loading