mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-03 22:57:16 +00:00
Merge pull request #334 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-8khz-fix-init-ptime-40ms to master
* commit '12d240308cd22f824ef30d9d879bdc56e22290fb': FS-7785: mod_opus: fix for invalid ptime 30 ms for opus@8000h . Replaced 30 ms with 40 ms.
This commit is contained in:
commit
367a7a73b7
@ -826,9 +826,9 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
|
|||||||
switch_opus_decode, /* function to decode encoded data into raw data */
|
switch_opus_decode, /* function to decode encoded data into raw data */
|
||||||
switch_opus_destroy); /* deinitalize a codec handle using this implementation */
|
switch_opus_destroy); /* deinitalize a codec handle using this implementation */
|
||||||
|
|
||||||
bytes += 160;
|
bytes *= 2;
|
||||||
samples += 480;
|
samples *= 2;
|
||||||
mss += 10000;
|
mss *= 2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user