[Freeswitch-trunk] [commit] r12660 - freeswitch/trunk/src
FreeSWITCH SVN
brian at freeswitch.org
Wed Mar 18 13:36:30 PDT 2009
Author: brian
Date: Wed Mar 18 15:36:30 2009
New Revision: 12660
Log:
FSRTP-1
Modified:
freeswitch/trunk/src/switch_rtp.c
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Wed Mar 18 15:36:30 2009
@@ -624,6 +624,11 @@
SWITCH_DECLARE(void) switch_rtp_set_max_missed_packets(switch_rtp_t *rtp_session, uint32_t max)
{
+ if (rtp_session->missed_count >= max)
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
+ "new max missed packets(%d->%d) greater than current missed packets(%d). RTP will timeout.\n",
+ rtp_session->missed_count, max, rtp_session->missed_count);
+
rtp_session->max_missed_packets = max;
}
More information about the Freeswitch-trunk
mailing list