summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-09-22 08:33:47 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:34:49 (GMT)
commitced4cbf27545620b2a9be59173fd87305cab4a8b (patch)
tree0dd6f4037e175ff0526b2ed973ae06789fec7f2c /Swiften/ScreenSharing/IncomingScreenSharingManager.cpp
parent949278e9418e4090c2f3c68ed313cf4853b25ef1 (diff)
downloadswift-contrib-ced4cbf27545620b2a9be59173fd87305cab4a8b.zip
swift-contrib-ced4cbf27545620b2a9be59173fd87305cab4a8b.tar.bz2
Add use of NAT traversal
Diffstat (limited to 'Swiften/ScreenSharing/IncomingScreenSharingManager.cpp')
-rw-r--r--Swiften/ScreenSharing/IncomingScreenSharingManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/ScreenSharing/IncomingScreenSharingManager.cpp b/Swiften/ScreenSharing/IncomingScreenSharingManager.cpp
index 8557f40..89f1bda 100644
--- a/Swiften/ScreenSharing/IncomingScreenSharingManager.cpp
+++ b/Swiften/ScreenSharing/IncomingScreenSharingManager.cpp
@@ -15,9 +15,9 @@
namespace Swift {
-IncomingScreenSharingManager::IncomingScreenSharingManager(JingleSessionManager* jingleSessionManager, IQRouter* iqRouter,
+IncomingScreenSharingManager::IncomingScreenSharingManager(JingleSessionManager* jingleSessionManager, IQRouter* iqRouter, ConnectivityManager* connectivityManager,
UDPSocketFactory* udpSocketFactory, TimerFactory* timerFactory)
- : jingleSessionManager(jingleSessionManager), iqRouter(iqRouter), udpSocketFactory(udpSocketFactory), timerFactory(timerFactory)
+ : jingleSessionManager(jingleSessionManager), iqRouter(iqRouter), connectivityManager(connectivityManager), udpSocketFactory(udpSocketFactory), timerFactory(timerFactory)
{
jingleSessionManager->addIncomingSessionHandler(this);
}
@@ -37,7 +37,7 @@ bool IncomingScreenSharingManager::handleIncomingJingleSession(Swift::JingleSess
// Check description
// Create IncomingScreenSharing
- onIncomingScreenSharing(boost::make_shared<IncomingScreenSharing>(session, udpSocketFactory, timerFactory, iqRouter, content));
+ onIncomingScreenSharing(boost::make_shared<IncomingScreenSharing>(session, udpSocketFactory, connectivityManager, timerFactory, iqRouter, content));
return true;
}