FS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection

This commit is contained in:
Mike Jerris 2018-07-13 15:18:35 -04:00
parent 9e3da931e5
commit b1a3c704b7
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
switch_set_flag(session, SSF_WARN_TRANSCODE);
}
if (read_frame->codec || is_cng) {
if (read_frame->codec || (is_cng && session->plc)) {
session->raw_read_frame.datalen = session->raw_read_frame.buflen;
if (is_cng) {