<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: 61d3c56fdeed7b2a6c8000dda2343d9a1a693677 (commit)
from: 3a10d6a1c51ffc1aba78e7864fc8ba707494bb9d (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Anthony Minessale
comments:
fix jb + no timer situations
<span style="color: #000080; font-weight: bold">diff --git a/src/switch_rtp.c b/src/switch_rtp.c</span>
<span style="color: #000080; font-weight: bold">index f067718..029f067 100644</span>
<span style="color: #A00000">--- a/src/switch_rtp.c</span>
<span style="color: #00A000">+++ b/src/switch_rtp.c</span>
<span style="color: #800080; font-weight: bold">@@ -235,7 +235,6 @@ struct switch_rtp {</span>
        uint32_t sync_packets;
        int rtcp_interval;
        switch_bool_t rtcp_fresh_frame;
<span style="color: #A00000">-        uint8_t checked_jb;</span>
#ifdef ENABLE_ZRTP
        zrtp_session_t *zrtp_session;
        zrtp_profile_t *zrtp_profile;
<span style="color: #800080; font-weight: bold">@@ -2500,7 +2499,7 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t</span>
                *bytes = 0;
        }
<span style="color: #A00000">-        if (rtp_session->jb && !rtp_session->pause_jb && !rtp_session->checked_jb) {</span>
<span style="color: #00A000">+        if (rtp_session->jb && !rtp_session->pause_jb) {</span>
                if ((jb_frame = stfu_n_read_a_frame(rtp_session->jb))) {
                        memcpy(rtp_session->recv_msg.body, jb_frame->data, jb_frame->dlen);
<span style="color: #800080; font-weight: bold">@@ -2514,8 +2513,6 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t</span>
                        rtp_session->recv_msg.header.pt = jb_frame->pt;
                        status = SWITCH_STATUS_SUCCESS;
                }
<span style="color: #A00000">-</span>
<span style="color: #A00000">-                rtp_session->checked_jb++;</span>
        }
        return status;
<span style="color: #800080; font-weight: bold">@@ -2660,8 +2657,6 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_</span>
        READ_INC(rtp_session);
<span style="color: #A00000">-        rtp_session->checked_jb = 0;</span>
<span style="color: #A00000">-        </span>
        while (switch_rtp_ready(rtp_session)) {
                int do_cng = 0;
                int read_pretriggered = 0;
</pre></div>
========================================================================<pre>
Summary of changes:
src/switch_rtp.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>