mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48:33 +00:00
FS-7785: mod_opus: fix for invalid ptime 30 ms for opus@8000h . Replaced 30 ms with 40 ms.
This commit is contained in:
1 parent
3cec36f168
commit
12d240308c
1 file changed
+3
-3
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user