FS-10622: [core] Auto-fixing audio codec from G722 to PCMU although PCMU was not negotiated #resolve

This commit is contained in:
Anthony Minessale
2017-11-16 15:37:17 -06:00
parent 212eb9b921
commit efcc6c4e93
2 changed files with 2 additions and 3 deletions
+1 -3
View File
@@ -6187,9 +6187,7 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t
status = SWITCH_STATUS_SUCCESS;
*bytes = switch_jb_get_last_read_len(rtp_session->jb);
rtp_session->last_rtp_hdr = rtp_session->recv_msg.header;
if (pt > -1) {
rtp_session->last_rtp_hdr.pt = pt;
}
rtp_session->last_rtp_hdr.pt = pt;
}
break;
case SWITCH_STATUS_BREAK: