]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
up
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 18 Oct 2007 23:19:37 +0000 (23:19 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 18 Oct 2007 23:19:37 +0000 (23:19 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5982 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index b738b20290fcdf5f62bfdc663d7aee2234186851..38c6dd52929e496068db049925d68231ceb1d22a 100644 (file)
@@ -846,7 +846,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
                if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) {
                        return -1;
                }
-#if 0
+#if 1
                if (rtp_session->recv_msg.header.pt == 9 /* && G722 RFC != LAME */) {
                        uint32_t rfc_sucks = ntohl(rtp_session->recv_msg.header.ts);
                        rfc_sucks *= 2;
@@ -1623,7 +1623,7 @@ SWITCH_DECLARE(int) switch_rtp_write_manual(switch_rtp_t *rtp_session,
        }
 
        send_msg = rtp_session->send_msg;
-#if 0
+#if 1
        if (payload == 9 /* && G722 RFC != LAME */) {
                ts /= 2;
        }