summary refs log tree commit diff
path: root/src/WebRTCSession.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-09-16 21:06:57 +0200
committerGitHub <noreply@github.com>2020-09-16 21:06:57 +0200
commit66d630725231cf1a1e5f6dbf4fbeb371503993c7 (patch)
treebf87408b3dff6b08bed2a56221bbb6fd8a0fb160 /src/WebRTCSession.h
parentTranslated using Weblate (Estonian) (diff)
parentRemove bus watch when call ends (diff)
downloadnheko-66d630725231cf1a1e5f6dbf4fbeb371503993c7.tar.xz
Merge pull request #283 from trilene/voip
Remove bus watch when call ends
Diffstat (limited to 'src/WebRTCSession.h')
-rw-r--r--src/WebRTCSession.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/WebRTCSession.h b/src/WebRTCSession.h

index 56d76fa8..8e78812f 100644 --- a/src/WebRTCSession.h +++ b/src/WebRTCSession.h
@@ -64,10 +64,11 @@ private slots: private: WebRTCSession(); - bool initialised_ = false; - State state_ = State::DISCONNECTED; - GstElement *pipe_ = nullptr; - GstElement *webrtc_ = nullptr; + bool initialised_ = false; + State state_ = State::DISCONNECTED; + GstElement *pipe_ = nullptr; + GstElement *webrtc_ = nullptr; + unsigned int busWatchId_ = 0; std::string stunServer_; std::vector<std::string> turnServers_; GList *audioSources_ = nullptr;