[Freeswitch-svn] [commit] r5981 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Thu Oct 18 18:48:28 EDT 2007


Author: anthm
Date: Thu Oct 18 18:48:28 2007
New Revision: 5981

Modified:
   freeswitch/trunk/src/switch_rtp.c

Log:
ignore me

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Thu Oct 18 18:48:28 2007
@@ -846,13 +846,13 @@
 		if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) {
 			return -1;
 		}
-
+#if 0
 		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;
 			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->recv_msg.header.m) {
 				stfu_n_reset(rtp_session->jb);
@@ -1623,9 +1623,11 @@
 	}
 
 	send_msg = rtp_session->send_msg;
+#if 0
 	if (payload == 9 /* && G722 RFC != LAME */) {
 		ts /= 2;
 	}
+#endif
 	send_msg.header.seq = htons(mseq);
 	send_msg.header.ts = htonl(ts);
 	send_msg.header.ssrc = htonl(ssrc);



More information about the Freeswitch-svn mailing list