Removed STUN need

This commit is contained in:
WolverinDEV 2020-04-19 18:09:05 +02:00
parent ee00935cfc
commit dbde035d77

View File

@ -83,8 +83,6 @@ VoiceBridge::VoiceBridge(const shared_ptr<WebClient>& owner) : _owner(owner) {
config->nice_config->stun_server = {host,(uint16_t) stoi(port)};
} catch(std::exception& ex) {}
}
if(config::web::ice_servers.empty())
config->nice_config->stun_server = {"stun.l.google.com", 19302};
config->nice_config->allow_ice_udp = true;
config->nice_config->allow_ice_tcp = false;