From: Anthony Minessale Date: Tue, 4 Oct 2011 23:02:34 +0000 (-0500) Subject: another regression stemming from the series of commits to make stupid sonus happy X-Git-Tag: v1.2-rc1~27^2~376 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e2793b45ecf86b77b593b8b22130753e5d826c4;p=thirdparty%2Ffreeswitch.git another regression stemming from the series of commits to make stupid sonus happy --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 24e8c3346d..434c915d0b 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -3666,7 +3666,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session, rtp_session->send_msg.header.ts = htonl(rtp_session->ts); - if ((rtp_session->ts > (rtp_session->last_write_ts + (rtp_session->samples_per_interval * 10))) + if ((rtp_session->ts != RTP_TS_RESET && rtp_session->ts > (rtp_session->last_write_ts + (rtp_session->samples_per_interval * 10))) || rtp_session->ts == rtp_session->samples_per_interval) { m++; }