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/OutgoingScreenSharingManager.cpp
parent949278e9418e4090c2f3c68ed313cf4853b25ef1 (diff)
downloadswift-contrib-ced4cbf27545620b2a9be59173fd87305cab4a8b.zip
swift-contrib-ced4cbf27545620b2a9be59173fd87305cab4a8b.tar.bz2
Add use of NAT traversal
Diffstat (limited to 'Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp')
-rw-r--r--Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp b/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp
index 872fd19..b9d966f 100644
--- a/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp
+++ b/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp
@@ -13,9 +13,8 @@
namespace Swift {
-OutgoingScreenSharingManager::OutgoingScreenSharingManager(JingleSessionManager* jingleSessionManager,IQRouter* router,
- UDPSocketFactory *udpSocketFactory, TimerFactory* timerFactory)
- : jsManager(jingleSessionManager), iqRouter(router), udpSocketFactory(udpSocketFactory), timerFactory(timerFactory)
+OutgoingScreenSharingManager::OutgoingScreenSharingManager(JingleSessionManager* jingleSessionManager,IQRouter* router, UDPSocketFactory *udpSocketFactory, ConnectivityManager* connectivityManager, TimerFactory* timerFactory)
+ : jsManager(jingleSessionManager), iqRouter(router), connectivityManager(connectivityManager), udpSocketFactory(udpSocketFactory), timerFactory(timerFactory)
{
}
@@ -25,7 +24,7 @@ boost::shared_ptr<OutgoingScreenSharing> OutgoingScreenSharingManager::createOut
assert(jingleSession);
jsManager->registerOutgoingSession(from, jingleSession);
- return boost::make_shared<OutgoingScreenSharing>(jingleSession, udpSocketFactory, timerFactory, recipient);
+ return boost::make_shared<OutgoingScreenSharing>(jingleSession, udpSocketFactory, connectivityManager, timerFactory, recipient);
}
}