diff --git a/Cargo.toml b/Cargo.toml index e8a722802..9c4424ac2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -90,3 +90,10 @@ webrtc = "0.13.0" # keep in lockstep with [dependencies] webrtc (rustc 1.75 pin, [target.'cfg(target_os = "linux")'.dependencies] users = { version = "0.11" } x11 = "2.21" + +# Only takes effect when this crate is built on its own (tests, examples); a consumer's own +# [patch] governs its build. Keep the rev in lockstep with rustdesk's root Cargo.toml. +[patch.crates-io] +webrtc = { git = "https://github.com/rustdesk-org/webrtc", rev = "49c89bd8d30e6e62e4c1a96cee38fdc11f79ef63" } +webrtc-util = { git = "https://github.com/rustdesk-org/webrtc", rev = "49c89bd8d30e6e62e4c1a96cee38fdc11f79ef63" } +webrtc-sctp = { git = "https://github.com/rustdesk-org/webrtc", rev = "49c89bd8d30e6e62e4c1a96cee38fdc11f79ef63" }