mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-10-19 15:14:13 +00:00
daf84c2df33b3d5861d9a36600773638559d072c
The ICE crate marks a candidate pair failed after 7 unanswered binding requests (~1.4s at the 200ms check interval) and stops sending on it. Behind an address-restricted NAT those outgoing requests are also what keep this side's mapping open to the remote's checks, so a browser peer whose checks arrive late -- after the answerer has already given up -- never gets a response and the direct pair is lost while a relay carries the session. Set max_binding_requests to 74 (~14.8s, just inside libwebrtc's 15s CONNECTION_WRITE_TIMEOUT) on the answerer only (remote_endpoint set), so the controlled side keeps checking for about as long as a Chrome controller does. The desktop offerer keeps the crate default as an unchanged comparison point. Needs the SettingEngine knob added in rustdesk-org/webrtc @ 80d5a205 (rustdesk-patches-0.13). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcJZZeJ3Nqb2MHxXuUadkb
Description
No description provided
75 MiB
Languages
Rust
100%