From d8950fb7d11e5894ecf1d0835388cc911788df6d Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 30 Sep 2025 20:06:04 +0000 Subject: [PATCH] fix: use nine.testrun.org as a default STUN server --- src/calls.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/calls.rs b/src/calls.rs index 9454a91d3..06300e288 100644 --- a/src/calls.rs +++ b/src/calls.rs @@ -589,9 +589,15 @@ pub(crate) async fn create_ice_servers_from_metadata( /// Creates JSON with ICE servers when no TURN servers are known. pub(crate) async fn create_fallback_ice_servers(context: &Context) -> Result { - // Public STUN server from https://stunprotocol.org/, - // an open source STUN server. - let hostname = "stunserver2025.stunprotocol.org"; + // Do not use public STUN server from https://stunprotocol.org/. + // It changes the hostname every year + // (e.g. stunserver2025.stunprotocol.org + // which was previously stunserver2024.stunprotocol.org) + // because of bandwidth costs: + // + + // We use nine.testrun.org for a default STUN server. + let hostname = "nine.testrun.org"; // Do not use cache because there is no TLS. let load_cache = false;