From 20d2c44329237e9e82926828e8d8beb477a6089a Mon Sep 17 00:00:00 2001 From: trilene Date: Fri, 30 Oct 2020 17:23:56 -0400 Subject: [PATCH] Fix crash when stun server selected --- src/WebRTCSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebRTCSession.cpp b/src/WebRTCSession.cpp index c746df8e..31d5b5ed 100644 --- a/src/WebRTCSession.cpp +++ b/src/WebRTCSession.cpp @@ -25,7 +25,7 @@ extern "C" #endif // https://github.com/vector-im/riot-web/issues/10173 -[[maybe_unused]] constexpr std::string_view STUN_SERVER = "stun://turn.matrix.org:3478"; +#define STUN_SERVER "stun://turn.matrix.org:3478" Q_DECLARE_METATYPE(webrtc::State)