diff --git a/Cargo.toml b/Cargo.toml index 1aae75c..c5827bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,7 +58,7 @@ tracing = {version = "0.1.34"} tracing-subscriber = {version = "0.3.11", features = ["env-filter"]} viam-mdns = "3.0.1" webpki-roots = "0.21.1" -webrtc = "0.7.3" +webrtc = { git = "https://github.com/webrtc-rs/webrtc.git", rev = "f452145" } local-ip-address = "0.5.5" [dev-dependencies] diff --git a/examples/Cargo.lock b/examples/Cargo.lock index 681f748..cda29d5 100644 --- a/examples/Cargo.lock +++ b/examples/Cargo.lock @@ -1663,12 +1663,12 @@ dependencies = [ [[package]] name = "interceptor" version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b12e186d2a4c21225df6beb8ae5d81817c928da12e7ce78d0953fc74d88b590" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "async-trait", "bytes", "log", + "portable-atomic", "rand", "rtcp 0.10.1", "rtp 0.10.0", @@ -2337,6 +2337,12 @@ dependencies = [ "universal-hash 0.5.1", ] +[[package]] +name = "portable-atomic" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -2652,8 +2658,7 @@ dependencies = [ [[package]] name = "rtcp" version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33648a781874466a62d89e265fee9f17e32bc7d05a256e6cca41bf97eadcd8aa" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "bytes", "thiserror", @@ -2677,10 +2682,10 @@ dependencies = [ [[package]] name = "rtp" version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47fca9bd66ae0b1f3f649b8f5003d6176433d7293b78b0fce7e1031816bdd99d" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "bytes", + "portable-atomic", "rand", "serde", "thiserror", @@ -2852,8 +2857,7 @@ dependencies = [ [[package]] name = "sdp" version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af90731e1f1150eb1740e35f9832958832a893965b632adc7ad27086077e24c7" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "rand", "substring", @@ -3118,8 +3122,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "stun" version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3f371788132e9d623e6eab4ba28aac083763a4133f045e6ebaee5ceb869803d" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "base64 0.21.2", "crc", @@ -3613,14 +3616,14 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "turn" version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb2ac4f331064513ad510b7a36edc0df555bd61672986607f7c9ff46f98f415" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "async-trait", "base64 0.21.2", "futures", "log", "md-5", + "portable-atomic", "rand", "ring 0.17.8", "stun", @@ -3775,7 +3778,7 @@ dependencies = [ [[package]] name = "viam-rust-utils" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "base64 0.13.1", @@ -3971,8 +3974,7 @@ dependencies = [ [[package]] name = "webrtc" version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fbdf025f0fa62f4bf252b2fb0cff0a04d3eac2021c440096649e62f4e48553d" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "arc-swap", "async-trait", @@ -3982,6 +3984,7 @@ dependencies = [ "interceptor 0.11.0", "lazy_static", "log", + "portable-atomic", "rand", "rcgen", "regex", @@ -4014,11 +4017,11 @@ dependencies = [ [[package]] name = "webrtc-data" version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c08e648e10572b9edbe741074e0f4d3cb221aa7cdf9a814ee71606de312f33" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "bytes", "log", + "portable-atomic", "thiserror", "tokio", "webrtc-sctp", @@ -4028,8 +4031,7 @@ dependencies = [ [[package]] name = "webrtc-dtls" version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "188ce061a2371bdf4df54b136c89a6df243ed0ef6b03431b4bd18482cd718dfe" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "aes 0.8.3", "aes-gcm 0.10.2", @@ -4044,6 +4046,7 @@ dependencies = [ "log", "p256", "p384", + "portable-atomic", "rand", "rand_core", "rcgen", @@ -4064,13 +4067,13 @@ dependencies = [ [[package]] name = "webrtc-ice" version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1bbd6b3dea22cc6e961e22b012e843d8869e2ac8e76b96e54d4a25e311857ad" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "arc-swap", "async-trait", "crc", "log", + "portable-atomic", "rand", "serde", "serde_json", @@ -4088,8 +4091,7 @@ dependencies = [ [[package]] name = "webrtc-mdns" version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce981f93104a8debb3563bb0cedfe4aa2f351fdf6b53f346ab50009424125c08" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "log", "socket2 0.5.6", @@ -4101,8 +4103,7 @@ dependencies = [ [[package]] name = "webrtc-media" version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280017b6b9625ef7329146332518b339c3cceff231cc6f6a9e0e6acab25ca4af" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "byteorder", "bytes", @@ -4114,14 +4115,14 @@ dependencies = [ [[package]] name = "webrtc-sctp" version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df75ec042002fe995194712cbeb2029107a60a7eab646f1b789eb1be94d0e367" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "arc-swap", "async-trait", "bytes", "crc", "log", + "portable-atomic", "rand", "thiserror", "tokio", @@ -4155,8 +4156,7 @@ dependencies = [ [[package]] name = "webrtc-srtp" version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "383b0f0f73ee6cce396bdbc4d54ec661861a59eae9fc988914c1a8d82c5ac272" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "aead 0.5.2", "aes 0.8.3", @@ -4199,8 +4199,7 @@ dependencies = [ [[package]] name = "webrtc-util" version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e85154ef743d9a2a116d104faaaa82740a281b8b4bed5ee691a2df6c133d873" +source = "git+https://github.com/webrtc-rs/webrtc.git?rev=f452145#f4521450472ada807b0a5191a28e20aae258bc57" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -4210,6 +4209,7 @@ dependencies = [ "libc", "log", "nix 0.26.4", + "portable-atomic", "rand", "thiserror", "tokio",