MODSOFIA-90

This commit is contained in:
Anthony Minessale 2010-08-24 19:12:24 -05:00
parent 0a6ae735c7
commit e96a9cf63f
1 changed files with 4 additions and 3 deletions

View File

@ -3680,9 +3680,10 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra
send_msg = frame->packet;
len = frame->packetlen;
ts = 0;
if (frame->codec && frame->codec->agreed_pt == frame->payload) {
send_msg->header.pt = payload;
}
// Trying this based on http://jira.freeswitch.org/browse/MODSOFIA-90
//if (frame->codec && frame->codec->agreed_pt == frame->payload) {
send_msg->header.pt = payload;
//}
} else {
data = frame->data;
len = frame->datalen;