Remove bus watch when call ends

This commit is contained in:
trilene 2020-09-16 07:29:26 -04:00
parent bd0e66b548
commit 2526a5604e
2 changed files with 8 additions and 5 deletions

View file

@ -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;