mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
add to opensim.ini a list of stun servers and send it to viewers in simulator features cap
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user