Modified: freeswitch/trunk/src/switch_rtp.c (16968 => 16969)
--- freeswitch/trunk/src/switch_rtp.c 2010-03-11 15:52:29 UTC (rev 16968)
+++ freeswitch/trunk/src/switch_rtp.c 2010-03-11 17:37:08 UTC (rev 16969)
@@ -3019,9 +3019,11 @@
send_msg = frame->packet;
+ /*
if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_VIDEO)) {
send_msg->header.pt = rtp_session->payload;
}
+ */
if (switch_socket_sendto(rtp_session->sock_output, rtp_session->remote_addr, 0, frame->packet, &bytes) != SWITCH_STATUS_SUCCESS) {
return -1;
@@ -3117,9 +3119,11 @@
ts = switch_test_flag(rtp_session, SWITCH_RTP_FLAG_RAW_WRITE) ? (uint32_t) frame->timestamp : 0;
}
+ /*
if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_VIDEO)) {
send_msg->header.pt = rtp_session->payload;
}
+ */
return rtp_common_write(rtp_session, send_msg, data, len, payload, ts, &frame->flags);
}