mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
webrtc multiparty rust: Upgrade all other deps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1332>
This commit is contained in:
parent
c592f75cdd
commit
5ab09323cd
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", "v1_20"] }
|
||||
gst-webrtc = { package = "gstreamer-webrtc", version = "0.17" }
|
||||
gst-sdp = { package = "gstreamer-sdp", version = "0.17", features = ["v1_14"] }
|
||||
|
|
|
@ -1019,7 +1019,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