From 8fc34114dadcb74be7e193f75c333e95264f9f9d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 18 Mar 2008 19:31:51 +0000 Subject: rtpSession reinit gets called more o --- anyrtpproxy/anyrtpproxy.cpp | 2 +- anyrtpproxy/commandHandler.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'anyrtpproxy') diff --git a/anyrtpproxy/anyrtpproxy.cpp b/anyrtpproxy/anyrtpproxy.cpp index a0f94fa..9501dfc 100644 --- a/anyrtpproxy/anyrtpproxy.cpp +++ b/anyrtpproxy/anyrtpproxy.cpp @@ -201,7 +201,7 @@ void* listenerManager(void* dont_use_me) gRtpSessionTable.delSession(call_id); continue; } - // TODO: reinit if session is changed or cleanup if it is daed + // TODO: reinit if session changed } } catch(std::exception &e) diff --git a/anyrtpproxy/commandHandler.cpp b/anyrtpproxy/commandHandler.cpp index 78cff4b..76134f1 100644 --- a/anyrtpproxy/commandHandler.cpp +++ b/anyrtpproxy/commandHandler.cpp @@ -218,8 +218,6 @@ string CommandHandler::handleResponse(string modifiers, string call_id, string a SyncCommand sc(call_id); queue_.push(sc); - gCallIdQueue.push(call_id); - ostringstream oss; oss << session.getLocalPort1(); return oss.str(); -- cgit v1.2.3