From 065dac2caf5a83bf0047682f80a5d596328f892d Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 5 Dec 2020 10:09:34 +0100 Subject: [PATCH] Removing one permission --- server/src/Configuration.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/src/Configuration.cpp b/server/src/Configuration.cpp index 6a97d09..da5a3e2 100644 --- a/server/src/Configuration.cpp +++ b/server/src/Configuration.cpp @@ -1546,9 +1546,11 @@ std::deque> config::create_bindings() { ADD_NOTE_RELOADABLE(); } { - CREATE_BINDING("webrtc.stun.host", 0); - BIND_STRING(config::web::stun_host, "stun.l.google.com"); - ADD_DESCRIPTION("Stun hostname"); + CREATE_BINDING("webrtc.stun.ip", 0); + BIND_STRING(config::web::stun_host, "127.0.0.1"); + ADD_DESCRIPTION("The address of the stun server to use."); + ADD_DESCRIPTION("Attention: This must be an IP address!"); + ADD_DESCRIPTION("Example whise you could use the resolved IP address of 'stun.l.google.com' as the stun server address."); ADD_NOTE_RELOADABLE(); } {