diff options
author | trilene <trilene@runbox.com> | 2020-10-30 17:23:56 -0400 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2020-10-30 17:23:56 -0400 |
commit | 20d2c44329237e9e82926828e8d8beb477a6089a (patch) | |
tree | 828dee4e57acd1c59e6b544d760189797c379b08 | |
parent | Supress unused var warning for STUN_SERVER (used only if gstreamer supported) (diff) | |
download | nheko-20d2c44329237e9e82926828e8d8beb477a6089a.tar.xz |
Fix crash when stun server selected
-rw-r--r-- | src/WebRTCSession.cpp | 2 |
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) |