[Freeswitch-svn] [commit] r8040 - freeswitch/trunk/src
    Freeswitch SVN 
    anthm at freeswitch.org
       
    Sun Apr  6 19:47:34 EDT 2008
    
    
  
Author: anthm
Date: Sun Apr  6 19:47:33 2008
New Revision: 8040
Modified:
   freeswitch/trunk/src/switch_rtp.c
Log:
tweak
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Sun Apr  6 19:47:33 2008
@@ -1123,6 +1123,10 @@
 			goto end;
 		}
 		
+		if (bytes > 0) {
+			rtp_session->missed_count = 0;
+		}
+
 		if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_BREAK)) {
 			switch_clear_flag_locked(rtp_session, SWITCH_RTP_FLAG_BREAK);
 			do_2833(rtp_session);
@@ -1347,10 +1351,6 @@
 			}
 		}
 
-		if (bytes > 0) {
-			rtp_session->missed_count = 0;
-		}
-
 		if (status == SWITCH_STATUS_BREAK || bytes == 0) {
 			if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_DATAWAIT)) {
 				goto do_continue;
    
    
More information about the Freeswitch-svn
mailing list