summary refs log tree commit diff
path: root/src/WebRTCSession.h
diff options
context:
space:
mode:
authorJussi Kuokkanen <jussi.kuokkanen@protonmail.com>2020-09-18 15:30:53 +0300
committerJussi Kuokkanen <jussi.kuokkanen@protonmail.com>2020-09-18 15:30:53 +0300
commit438dcd3c5e217e0221e5910fea9c0f9ad2e7f940 (patch)
tree786cf084d1b1cdaccba916b1bfc4579c7781b858 /src/WebRTCSession.h
parentmake Rectangle to fill the gap between input widget and typing users (diff)
parentMerge pull request #286 from trilene/voip (diff)
downloadnheko-438dcd3c5e217e0221e5910fea9c0f9ad2e7f940.tar.xz
Merge branch 'master' of https://github.com/Nheko-Reborn/nheko
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;