From e4a07e9f5abb561ba8944b1d66008a168c496012 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 17 Feb 2008 18:11:27 +0000 Subject: [PATCH] gotta sleep less cos some crappier boxes really stink git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7661 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 24342c41d4..fad958edb0 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1296,12 +1296,8 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ 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;