add to opensim.ini a list of stun servers and send it to viewers in simulator features cap

This commit is contained in:
UbitUmarov
2026-02-25 19:37:02 +00:00
parent 044b5f69aa
commit fc607035c8
3 changed files with 58 additions and 9 deletions

View File

@@ -1293,6 +1293,12 @@ namespace OpenSim.Region.Framework.Scenes
if (!string.IsNullOrEmpty(SceneGridInfo.EconomyURL))
fm.AddOpenSimExtraFeature("currency-base-uri", SceneGridInfo.EconomyURL);
}
if (SceneGridInfo.StunServers is not null)
{
string stuns = string.Join(',', SceneGridInfo.StunServers);
fm.AddFeature("stun-servers", stuns);
}
}
}
}