From 433807ef2c594b2023a9064393414e8eb30b7d63 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 11 Jan 2008 05:42:50 +0000 Subject: [PATCH] set last_write_ts still git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7171 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index d77e11a0a1..9fb10791a8 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1460,11 +1460,11 @@ static int rtp_common_write(switch_rtp_t *rtp_session, send = 0; } - /* - if ((this_ts = ntohl(send_msg->header.ts)) < rtp_session->last_write_ts) { + this_ts = ntohl(send_msg->header.ts); + + if (!this_ts) { send = 0; } - */ if (send) { rtp_session->seq++;