summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-07-15 16:18:18 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:01:49 (GMT)
commitc9ba8e43fc23fccd47531ecea73224b3b9b552c3 (patch)
tree9d9953000cc4d76e798cd1967e8f1e76ff102100 /Swiften/ScreenSharing/OutgoingScreenSharing.cpp
parent70e395802de55b1d2eb9f92ad86349cd2d0d0575 (diff)
downloadswift-contrib-c9ba8e43fc23fccd47531ecea73224b3b9b552c3.zip
swift-contrib-c9ba8e43fc23fccd47531ecea73224b3b9b552c3.tar.bz2
Fix troubles in screen sharing example
Diffstat (limited to 'Swiften/ScreenSharing/OutgoingScreenSharing.cpp')
-rw-r--r--Swiften/ScreenSharing/OutgoingScreenSharing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/OutgoingScreenSharing.cpp b/Swiften/ScreenSharing/OutgoingScreenSharing.cpp
index ec0a39c..906bd68 100644
--- a/Swiften/ScreenSharing/OutgoingScreenSharing.cpp
+++ b/Swiften/ScreenSharing/OutgoingScreenSharing.cpp
@@ -65,6 +65,7 @@ void OutgoingScreenSharing::start(unsigned int width, unsigned int height)
jingleSession->sendInitiate(contentID, desc, transport);
onStateChange(ScreenSharing::WaitingForAccept);
+ serverSocket->onConnected.connect(boost::bind(&OutgoingScreenSharing::handleSocketConnected, this));
serverSocket->connectToFirstIncoming();
}