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 --- rtpSession.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rtpSession.h') diff --git a/rtpSession.h b/rtpSession.h index 16b0e5b..8fa73f7 100644 --- a/rtpSession.h +++ b/rtpSession.h @@ -83,10 +83,6 @@ private: { Lock lock(mutex_); - std::string old_local_addr = local_addr_; - u_int16_t old_local_port1 = local_port1_; - u_int16_t old_local_port2 = local_port2_; - ar & dead_; ar & complete_; ar & local_addr_; @@ -99,7 +95,7 @@ private: ar & seen1_; ar & seen2_; - if(old_local_port1 != local_port1_ || old_local_port2 != local_port2_ || old_local_addr != local_addr_) + if(complete_) reinit(); in_sync_ = true; -- cgit v1.2.3