[Freeswitch-svn] [commit] r13777 - freeswitch/trunk/src

FreeSWITCH SVN brian at freeswitch.org
Mon Jun 15 14:20:02 PDT 2009


Author: brian
Date: Mon Jun 15 16:20:01 2009
New Revision: 13777

Log:
 revert as per anthm 

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 16:20:01 2009
@@ -1774,9 +1774,8 @@
 			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 >= 5) {
+					if (++rtp_session->hot_hits >= 10) {
 						hot_socket = 1;
-						rtp_session->hot_hits = 0;
 					}
 				} else {
 					rtp_session->hot_hits = 0;



More information about the Freeswitch-svn mailing list