mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 03:47:39 +00:00
FS-7436: [mod_opus] fix the plc counter to actually count
This commit is contained in:
parent
4aaaa485ce
commit
e21a423d9f
@ -419,7 +419,7 @@ static switch_status_t switch_opus_decode(switch_codec_t *codec,
|
|||||||
|
|
||||||
/*FEC: shameless rip-off from mod_silk.c . OPUS only supports n+1 FEC , SILK is supposed to work with n+1, n+2*/
|
/*FEC: shameless rip-off from mod_silk.c . OPUS only supports n+1 FEC , SILK is supposed to work with n+1, n+2*/
|
||||||
if (*flag & SFF_PLC) {
|
if (*flag & SFF_PLC) {
|
||||||
context->counter_plc_fec;
|
context->counter_plc_fec++;
|
||||||
if (session) {
|
if (session) {
|
||||||
jb = switch_core_session_get_jb(session, SWITCH_MEDIA_TYPE_AUDIO);
|
jb = switch_core_session_get_jb(session, SWITCH_MEDIA_TYPE_AUDIO);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user