From ec2e3b3ff531daf579f5553096b5fa2284d44f08 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 17 Mar 2008 20:06:13 +0000 Subject: added port window to command handler --- anyrtpproxy/anyrtpproxy.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'anyrtpproxy/anyrtpproxy.cpp') diff --git a/anyrtpproxy/anyrtpproxy.cpp b/anyrtpproxy/anyrtpproxy.cpp index 2b6184e..951170a 100644 --- a/anyrtpproxy/anyrtpproxy.cpp +++ b/anyrtpproxy/anyrtpproxy.cpp @@ -55,6 +55,7 @@ #include "callIdQueue.h" #include "options.h" +#include "portWindow.h" #include @@ -315,7 +316,8 @@ int main(int argc, char* argv[]) pthread_create(& connectThreads.back(), NULL, syncConnector, point); } - CommandHandler cmd(queue, gOpt.getControlInterface().addr_, gOpt.getControlInterface().port_); + PortWindow port_window(gOpt.getRtpStartPort(),gOpt.getRtpEndPort()); + CommandHandler cmd(queue, gOpt.getControlInterface().addr_, gOpt.getControlInterface().port_,port_window); int ret = sig.run(); return ret; -- cgit v1.2.3