summaryrefslogtreecommitdiff
path: root/src/anyrtpproxy/anyrtpproxy.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2009-01-12 20:53:14 +0000
committerOthmar Gsenger <otti@anytun.org>2009-01-12 20:53:14 +0000
commit43424d46fbb74958cd5fc358d57c757b53436585 (patch)
treef0b0f1199c0946bca98ed3373191a5a991bd2229 /src/anyrtpproxy/anyrtpproxy.cpp
parentclean up Makefile (diff)
moved rtp stuff to anyrtpproxy and removed it from anytun
Diffstat (limited to 'src/anyrtpproxy/anyrtpproxy.cpp')
-rw-r--r--src/anyrtpproxy/anyrtpproxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/anyrtpproxy/anyrtpproxy.cpp b/src/anyrtpproxy/anyrtpproxy.cpp
index 43b4ef9..fdb809e 100644
--- a/src/anyrtpproxy/anyrtpproxy.cpp
+++ b/src/anyrtpproxy/anyrtpproxy.cpp
@@ -43,11 +43,11 @@
#include "../signalController.h"
#include "../buffer.h"
#include "connectionList.h"
-#include "../rtpSessionTable.h"
-#include "../syncCommand.h"
+#include "rtpSessionTable.h"
+#include "syncRtpCommand.h"
#include "../syncQueue.h"
#include "../syncClient.h"
-//#include "../syncOnConnect.h"
+#include "syncOnConnect.hpp"
#include "../threadUtils.hpp"
@@ -104,7 +104,7 @@ void listener(RtpSession::proto::socket* sock1, RtpSession::proto::socket* sock2
session.setRemoteEnd2(remote_end);
if(!gOpt.getNat()) { // with nat enabled sync is not needed
- SyncCommand sc(call_id);
+ SyncRtpCommand sc(call_id);
queue->push(sc);
}
}
@@ -296,7 +296,7 @@ void syncListener(SyncQueue * queue)
SyncServer server(io_service,e);
-// server.onConnect=boost::bind(syncOnConnect,_1);
+ server.onConnect=boost::bind(syncOnConnect,_1);
queue->setSyncServerPtr(&server);
io_service.run();
}