aboutsummaryrefslogtreecommitdiff
path: root/client-native-export-track
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-25 09:18:20 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-25 09:18:20 +0200
commit462d9c511ad96cd2270d44bada243d981d5891e3 (patch)
treee5c62ab6d8cdbb67e132d8275e999bb091ac60e1 /client-native-export-track
parente7a3c758bdd63d2a444f2fe578e54045c43ad6bb (diff)
downloadkeks-meet-462d9c511ad96cd2270d44bada243d981d5891e3.tar
keks-meet-462d9c511ad96cd2270d44bada243d981d5891e3.tar.bz2
keks-meet-462d9c511ad96cd2270d44bada243d981d5891e3.tar.zst
update all of the rusty stuff. also fixed webrtc build problems
Diffstat (limited to 'client-native-export-track')
-rw-r--r--client-native-export-track/Cargo.toml6
-rw-r--r--client-native-export-track/src/main.rs3
2 files changed, 4 insertions, 5 deletions
diff --git a/client-native-export-track/Cargo.toml b/client-native-export-track/Cargo.toml
index c39a579..20be9a3 100644
--- a/client-native-export-track/Cargo.toml
+++ b/client-native-export-track/Cargo.toml
@@ -6,10 +6,10 @@ edition = "2021"
[dependencies]
client-native-lib = { path = "../client-native-lib" }
-clap = { version = "4.1.6", features = ["derive"] }
+clap = { version = "4.3.8", features = ["derive"] }
env_logger = "0.10.0"
log = "0.4"
-tokio = { version = "1.25", features = ["full"] }
+tokio = { version = "1.28", features = ["full"] }
bytes = "1.4.0"
-anyhow = "1.0.69"
+anyhow = "1.0.71"
diff --git a/client-native-export-track/src/main.rs b/client-native-export-track/src/main.rs
index 191d344..bee6dfb 100644
--- a/client-native-export-track/src/main.rs
+++ b/client-native-export-track/src/main.rs
@@ -3,7 +3,6 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2022 metamuffin <metamuffin@disroot.org>
*/
-#![feature(box_syntax)]
use clap::Parser;
use client_native_lib::{
@@ -156,7 +155,7 @@ impl EventHandler for Handler {
error!("export failed: {e}")
}
info!("stopping, telling the remote to stop too.");
- peer.request_stop_resource(track.stream_id().await).await;
+ peer.request_stop_resource(track.stream_id()).await;
}
TransportChannel::DataChannel(_) => warn!("wrong type"),
}