From 43424d46fbb74958cd5fc358d57c757b53436585 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 12 Jan 2009 20:53:14 +0000 Subject: moved rtp stuff to anyrtpproxy and removed it from anytun --- src/anyrtpproxy/anyrtpproxy.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/anyrtpproxy/anyrtpproxy.cpp') 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(); } -- cgit v1.2.3