From 645dc265ab5a87792ba055a9770f369c0c59c45d Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 1 Jun 2021 15:41:25 +1200 Subject: [PATCH] Fix non-WebRTC domain server builds --- domain-server/src/DomainServer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/domain-server/src/DomainServer.cpp b/domain-server/src/DomainServer.cpp index c7a5700de2..4f80e82681 100644 --- a/domain-server/src/DomainServer.cpp +++ b/domain-server/src/DomainServer.cpp @@ -3140,6 +3140,7 @@ void DomainServer::updateUpstreamNodes() { } void DomainServer::setUpWebRTC() { +#ifdef WEBRTC_DATA_CHANNELS // Inbound WebRTC signaling messages received from a client. connect(&_webrtcSignalingServer, &WebRTCSignalingServer::messageReceived, @@ -3149,6 +3150,7 @@ void DomainServer::setUpWebRTC() { connect(&_webrtcDataChannels, &WebRTCDataChannels::signalingMessage, &_webrtcSignalingServer, &WebRTCSignalingServer::sendMessage); +#endif } void DomainServer::initializeExporter() {