From b527c5a21c56503af9a83d49c766101fe362ef49 Mon Sep 17 00:00:00 2001 From: trilene Date: Thu, 17 Sep 2020 11:37:30 -0400 Subject: Adapt device monitoring for GStreamer 1.18 --- src/WebRTCSession.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/WebRTCSession.h') 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 turnServers_; - GList *audioSources_ = nullptr; int audioSourceIndex_ = -1; bool startPipeline(int opusPayloadType); bool createPipeline(int opusPayloadType); void refreshDevices(); + void startDeviceMonitor(); public: WebRTCSession(WebRTCSession const &) = delete; -- cgit 1.5.1