summary refs log tree commit diff
path: root/src/WebRTCSession.h
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-10-27 17:26:46 -0400
committertrilene <trilene@runbox.com>2020-10-27 17:26:46 -0400
commitb1300aff46625cce33f0244a173e09cba985dc3a (patch)
tree478322b82fd6c47f84b09e9da34d0dc204f8484a /src/WebRTCSession.h
parentMerge remote-tracking branch 'upstream/master' into webrtc-video (diff)
downloadnheko-b1300aff46625cce33f0244a173e09cba985dc3a.tar.xz
Fix crash on exit
Diffstat (limited to 'src/WebRTCSession.h')
-rw-r--r--src/WebRTCSession.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/WebRTCSession.h b/src/WebRTCSession.h

index d5e195a8..9c7778e7 100644 --- a/src/WebRTCSession.h +++ b/src/WebRTCSession.h
@@ -4,13 +4,11 @@ #include <vector> #include <QObject> -#include <QSharedPointer> #include "mtx/events/voip.hpp" typedef struct _GstElement GstElement; class QQuickItem; -class UserSettings; namespace webrtc { Q_NAMESPACE @@ -57,7 +55,6 @@ public: bool toggleMicMute(); void end(); - void setSettings(QSharedPointer<UserSettings> settings) { settings_ = settings; } void setTurnServers(const std::vector<std::string> &uris) { turnServers_ = uris; } void refreshDevices(); @@ -95,7 +92,6 @@ private: GstElement *pipe_ = nullptr; GstElement *webrtc_ = nullptr; unsigned int busWatchId_ = 0; - QSharedPointer<UserSettings> settings_; std::vector<std::string> turnServers_; bool init(std::string *errorMessage = nullptr);