mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
FS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection
This commit is contained in:
parent
9e3da931e5
commit
b1a3c704b7
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user