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_destroy); /* deinitalize a codec handle using this implementation */
|
||||
|
||||
bytes += 160;
|
||||
samples += 480;
|
||||
mss += 10000;
|
||||
bytes *= 2;
|
||||
samples *= 2;
|
||||
mss *= 2;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue