summary refs log tree commit diff
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-10-30 17:23:56 -0400
committertrilene <trilene@runbox.com>2020-10-30 17:23:56 -0400
commit20d2c44329237e9e82926828e8d8beb477a6089a (patch)
tree828dee4e57acd1c59e6b544d760189797c379b08
parentSupress unused var warning for STUN_SERVER (used only if gstreamer supported) (diff)
downloadnheko-20d2c44329237e9e82926828e8d8beb477a6089a.tar.xz
Fix crash when stun server selected
-rw-r--r--src/WebRTCSession.cpp2
1 files changed, 1 insertions, 1 deletions
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)