Author: anthm Date: Mon Jun 15 13:10:27 2009 New Revision: 13775 Log: tweak to rtp timing 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 Mon Jun 15 13:10:27 2009 @@ -1774,8 +1774,9 @@ if ((switch_test_flag(rtp_session, SWITCH_RTP_FLAG_AUTOFLUSH) || switch_test_flag(rtp_session, SWITCH_RTP_FLAG_STICKY_FLUSH)) && rtp_session->read_pollfd) { if (switch_poll(rtp_session->read_pollfd, 1, &fdr, 1) == SWITCH_STATUS_SUCCESS) { - if (++rtp_session->hot_hits >= 10) { + if (++rtp_session->hot_hits >= 5) { hot_socket = 1; + rtp_session->hot_hits = 0; } } else { rtp_session->hot_hits = 0;