提交 b1a3c704 authored 作者: Mike Jerris's avatar Mike Jerris

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

上级 9e3da931
...@@ -417,7 +417,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi ...@@ -417,7 +417,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
switch_set_flag(session, SSF_WARN_TRANSCODE); 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; session->raw_read_frame.datalen = session->raw_read_frame.buflen;
if (is_cng) { if (is_cng) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论