From 83351c39cad0d355acff99791d881f2ae1ae0e6c Mon Sep 17 00:00:00 2001 From: aymeric Date: Sat, 29 Nov 2008 11:25:35 +0000 Subject: [PATCH] Keep reading the same ssrc when it is still active git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@184 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/oRTP/src/rtpparse.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linphone/oRTP/src/rtpparse.c b/linphone/oRTP/src/rtpparse.c index 93c15cbbe..38d6ae06c 100644 --- a/linphone/oRTP/src/rtpparse.c +++ b/linphone/oRTP/src/rtpparse.c @@ -148,6 +148,12 @@ void rtp_session_rtp_parse(RtpSession *session, mblk_t *mp, uint32_t local_str_t return; } } + else{ + /* The SSRC change must not happen if we still receive + ssrc from the initial source. */ + session->inc_same_ssrc_count=0; + } + }else{ session->ssrc_set=TRUE; session->rcv.ssrc=rtp->ssrc;