mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-10-11 19:23:59 +00:00
Build the webrtc feature standalone against the rustdesk-org fork
src/webrtc.rs calls fork-only APIs (set_ice_max_binding_requests, set_no_congestion_control), which only rustdesk's root [patch] supplied, so building this crate on its own with --features webrtc failed with E0425/E0599. Mirror the root patch here; it applies only when this crate is the root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019aokqJuhjvB3kijXtAg5Ns
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
229b904508
commit
94ec710894
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user