mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
webrtc sendrecv rust: Upgrade all other deps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1332>
This commit is contained in:
parent
26e8624c9b
commit
c592f75cdd
3 changed files with 268 additions and 283 deletions
File diff suppressed because it is too large
Load diff
|
@ -9,8 +9,8 @@ futures = "0.3"
|
|||
async-std = "1"
|
||||
structopt = { version = "0.3", default-features = false }
|
||||
anyhow = "1"
|
||||
rand = "0.7"
|
||||
async-tungstenite = { version = "0.10", features = ["async-std-runtime", "async-native-tls"] }
|
||||
rand = "0.8"
|
||||
async-tungstenite = { version = "0.16", features = ["async-std-runtime", "async-native-tls"] }
|
||||
gst = { package = "gstreamer", version = "0.17", features = ["v1_14"] }
|
||||
gst-webrtc = { package = "gstreamer-webrtc", version = "0.17" }
|
||||
gst-sdp = { package = "gstreamer-sdp", version = "0.17", features = ["v1_14"] }
|
||||
|
|
|
@ -648,7 +648,7 @@ async fn async_main() -> Result<(), anyhow::Error> {
|
|||
println!("connected");
|
||||
|
||||
// Say HELLO to the server and see if it replies with HELLO
|
||||
let our_id = rand::thread_rng().gen_range(10, 10_000);
|
||||
let our_id = rand::thread_rng().gen_range(10..10_000);
|
||||
println!("Registering id {} with server", our_id);
|
||||
ws.send(WsMessage::Text(format!("HELLO {}", our_id)))
|
||||
.await?;
|
||||
|
|
Loading…
Reference in a new issue