summary refs log tree commit diff
path: root/src/WebRTCSession.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-09-17 23:27:25 +0200
committerGitHub <noreply@github.com>2020-09-17 23:27:25 +0200
commit791a01487baba3d3f3965267ef545057b3f02b09 (patch)
tree455882dc62ce52108fb6f0e65ac68cc15a67a794 /src/WebRTCSession.h
parentMerge pull request #284 from Nheko-Reborn/hidden-events (diff)
parentRemove GStreamer version test (diff)
downloadnheko-791a01487baba3d3f3965267ef545057b3f02b09.tar.xz
Merge pull request #286 from trilene/voip
Adapt device monitoring for GStreamer 1.18
Diffstat (limited to 'src/WebRTCSession.h')
-rw-r--r--src/WebRTCSession.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/WebRTCSession.h b/src/WebRTCSession.h

index 8e78812f..653ec2cf 100644 --- a/src/WebRTCSession.h +++ b/src/WebRTCSession.h
@@ -7,7 +7,6 @@ #include "mtx/events/voip.hpp" -typedef struct _GList GList; typedef struct _GstElement GstElement; class WebRTCSession : public QObject @@ -71,12 +70,12 @@ private: unsigned int busWatchId_ = 0; std::string stunServer_; std::vector<std::string> turnServers_; - GList *audioSources_ = nullptr; int audioSourceIndex_ = -1; bool startPipeline(int opusPayloadType); bool createPipeline(int opusPayloadType); void refreshDevices(); + void startDeviceMonitor(); public: WebRTCSession(WebRTCSession const &) = delete;