summaryrefslogtreecommitdiff
path: root/rtpSession.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-03-18 19:31:51 +0000
committerChristian Pointner <equinox@anytun.org>2008-03-18 19:31:51 +0000
commit8fc34114dadcb74be7e193f75c333e95264f9f9d (patch)
treec801f61a76955251892cc6d357aecd9e32e31bce /rtpSession.h
parentanyrtpproxy cleanup works now (diff)
rtpSession reinit gets called more o
Diffstat (limited to 'rtpSession.h')
-rw-r--r--rtpSession.h6
1 files changed, 1 insertions, 5 deletions
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;