[Freeswitch-svn] [commit] r7661 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Sun Feb 17 13:11:28 EST 2008
Author: anthm
Date: Sun Feb 17 13:11:27 2008
New Revision: 7661
Modified:
freeswitch/trunk/src/switch_rtp.c
Log:
gotta sleep less cos some crappier boxes really stink
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Sun Feb 17 13:11:27 2008
@@ -1296,12 +1296,8 @@
break;
do_continue:
-
- if (rtp_session->ms_per_packet) {
- switch_yield((rtp_session->ms_per_packet / 1000) * 750);
- } else {
- switch_yield(1000);
- }
+
+ switch_yield(5000);
}
*payload_type = (switch_payload_t) rtp_session->recv_msg.header.pt;
More information about the Freeswitch-svn
mailing list