mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-16 13:32:44 +00:00
fix: remove hardcoded ICE servers
This commit is contained in:
@@ -181,8 +181,6 @@ void WebRtcMediaController::on_ready(std::vector<CameraIceServer> servers)
|
||||
BOOST_LOG_TRIVIAL(warning) << "WebRTC: invalid ICE server: " << e.what();
|
||||
}
|
||||
}
|
||||
configuration.iceServers.emplace_back("stun:stun.cloudflare.com:3478");
|
||||
configuration.iceServers.emplace_back("stun:stun.l.google.com:19302");
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << "WebRTC: creating peer connection with " << configuration.iceServers.size() << " ice servers";
|
||||
auto peer_connection = std::make_shared<rtc::PeerConnection>(std::move(configuration));
|
||||
|
||||
Reference in New Issue
Block a user