ignore me

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5981 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-10-18 22:48:28 +00:00
parent 3d1394c06c
commit 970b22e438
1 changed files with 4 additions and 2 deletions

View File

@ -846,13 +846,13 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) { if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) {
return -1; return -1;
} }
#if 0
if (rtp_session->recv_msg.header.pt == 9 /* && G722 RFC != LAME */) { if (rtp_session->recv_msg.header.pt == 9 /* && G722 RFC != LAME */) {
uint32_t rfc_sucks = ntohl(rtp_session->recv_msg.header.ts); uint32_t rfc_sucks = ntohl(rtp_session->recv_msg.header.ts);
rfc_sucks *= 2; rfc_sucks *= 2;
rtp_session->recv_msg.header.ts = htonl(rfc_sucks); rtp_session->recv_msg.header.ts = htonl(rfc_sucks);
} }
#endif
if (rtp_session->jb && bytes && rtp_session->recv_msg.header.pt == rtp_session->payload) { if (rtp_session->jb && bytes && rtp_session->recv_msg.header.pt == rtp_session->payload) {
if (rtp_session->recv_msg.header.m) { if (rtp_session->recv_msg.header.m) {
stfu_n_reset(rtp_session->jb); stfu_n_reset(rtp_session->jb);
@ -1623,9 +1623,11 @@ SWITCH_DECLARE(int) switch_rtp_write_manual(switch_rtp_t *rtp_session,
} }
send_msg = rtp_session->send_msg; send_msg = rtp_session->send_msg;
#if 0
if (payload == 9 /* && G722 RFC != LAME */) { if (payload == 9 /* && G722 RFC != LAME */) {
ts /= 2; ts /= 2;
} }
#endif
send_msg.header.seq = htons(mseq); send_msg.header.seq = htons(mseq);
send_msg.header.ts = htonl(ts); send_msg.header.ts = htonl(ts);
send_msg.header.ssrc = htonl(ssrc); send_msg.header.ssrc = htonl(ssrc);