An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
change REG_INTERVAL to 15 seconds to follow quic
rustdesk36ed8f3f73e0
diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rsindex 1edac42ca..eb48d742f 100644--- a/libs/hbb_common/src/config.rs+++ b/libs/hbb_common/src/config.rs@@ -30,7 +30,11 @@ use crate::{pub const RENDEZVOUS_TIMEOUT: u64 = 12_000;pub const CONNECT_TIMEOUT: u64 = 18_000;pub const READ_TIMEOUT: u64 = 18_000;-pub const REG_INTERVAL: i64 = 12_000;+// https://github.com/quic-go/quic-go/issues/525#issuecomment-294531351+// https://datatracker.ietf.org/doc/html/draft-hamilton-early-deployment-quic-00#section-6.10+// 15 seconds is recommended by quic, though oneSIP recommend 25 seconds,+// https://www.onsip.com/voip-resources/voip-fundamentals/what-is-nat-keepalive+pub const REG_INTERVAL: i64 = 15_000;pub const COMPRESS_LEVEL: i32 = 3;const SERIAL: i32 = 3;const PASSWORD_ENC_VERSION: &str = "00";