111 Commits

Author SHA1 Message Date
Dragos Oancea
86a5ee3509 FS-11945: [mod_opus] don't hangup call on decoder error. 2019-07-23 18:02:52 +04:00
Chris Rienzo
17b88eb688 FS-11785 [mod_opus] move fec_bitrate scope to a better place 2019-07-17 21:50:07 +04:00
Chris Rienzo
1f05e5e8be FS-11785 [mod_opus] fix null dereference and dead assignments 2019-07-17 21:49:35 +04:00
Andrey Volk
7afec393c7 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_opus 2019-07-15 23:39:26 +04:00
Sergey Safarov
abde630fea FS-11345: Fixed Werror=stringop-truncation for mod_opus
Fixed Werror=format-truncation on sofia-sip/libsofia-sip-ua/tport

Fixed Werror=format-truncation on mod/endpoints/mod_verto

Fixed unused-but-set-variable in mod_lua

Fixed Werror=format-truncation on libs/sofia-sip/libsofia-sip-ua/tport

Fixed Wunused-variable Wmaybe-uninitialized on mod_soundtouch

Fixed Wliteral-suffix for libs/unimrcp
2018-12-12 21:18:19 +00:00
Dragos Oancea
2f914e37fa FS-10551: [mod_opus] added FEC bitrates map for opus@16000h (for the "keep-fec-enabled" setting) 2017-07-27 16:59:16 +01:00
Dragos Oancea
7fe1839466 FS-10282: mod_opus: fix some logging for debug mode (when opus_debug is on) 2017-05-02 17:55:23 +01:00
Dragos Oancea
02c4e4a28e FS-9864: mod_opus : Added OPUS@16000 with 10, 20, 40, 60 ms ptime 2017-03-06 05:22:40 -05:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Brian West
1cd511ab3d FS-9687 lets actually fix it this time now that I know the scenario that triggers it. 2016-11-02 06:17:34 -05:00
Brian West
9b955c95a9 FS-9687: segfault Program terminated with signal SIGFPE, Arithmetic exception. 2016-11-01 16:50:18 -05:00
Giacomo Vacca
6c11284d34 FS-9643 mod_opus Log encoded stats at end of call
Log count of encoded FEC frames in debug mode
2016-10-20 04:48:34 -04:00
Dragos Oancea
f47bbecec9 FS-9601: mod_opus: make adjustable bitrate mutually exclusive with FEC enforcing on the decreasing trend,
add step calculation for bitrate adjustment, fix bug on context settings
2016-10-01 19:05:33 -04:00
Giacomo Vacca
293f2fda9a FS-9584 Separate initial bitrate negotiation from sample rates 2016-09-28 11:22:40 -04:00
Dragos Oancea
0e6e53f15c FS-8644: OPUS_SET_BITRATE(), codec control and estimators for packet loss and RTT (with Kalman filters) to detect a slow or congested link.
Feature enabled with "adjust-bitrate" in opus.conf.xml - it's a feedback loop with incoming RTCP.
2016-09-27 16:06:17 -05:00
Michael Jerris
9e89639c4d Revert "Fix for FS-9313"
This reverts commit cf6107963ca997f5ef25527d16f98626213047a9.
2016-07-08 17:00:22 -04:00
Christian Hoene
cf6107963c Fix for FS-9313 2016-06-30 14:04:25 +02:00
Anthony Minessale
885fe3b25c FS-9197 2016-06-02 13:14:26 -05:00
Anthony Minessale
02224a037e FS-8179 bring this back to default its fixed in chrome 2015-12-16 18:22:27 -06:00
Brian West
d744a18fd3 Merge pull request #550 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-fec-fix to master
* commit '65fd07923eb3d53931616fcd701a809e71f4243b':
  FS-8319: mod_opus: fix and cleanup of switch_opus_has_fec() and switch_opus_info().
2015-10-28 13:14:53 -05:00
Brian West
768a7ab6e5 Merge pull request #555 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-repacketization-toggle-fec to master
* commit 'd145111eed3505e11d9d0f0a891eab3945dddf36':
  FS-8344: mod_opus: toggle FEC on the last frame which is to be packed, so that FEC will be only present on the first SILK frame of the next Opus frame (Opus repacketization).
2015-10-28 13:12:17 -05:00
Brian West
cc25c46bfc Merge pull request #549 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-decoder-statistics to master
* commit 'ea65a31e307755dfbaae4e65221417a1d4583e04':
  FS-8313: mod_opus: show decoder stats at end of call (how many times it did PLC or FEC)
2015-10-27 11:47:12 -05:00
Mike Jerris
6b5b1a3d86 FS-8389: [build] Fix msvc 2015 build warnings 2015-10-26 13:45:48 -04:00
Bradley Jokinen
a52aaa9225 FS-8348 Fix crash caused by trying to get channel of a null session 2015-10-15 11:01:53 -05:00
Dragos Oancea
d145111eed FS-8344: mod_opus: toggle FEC on the last frame which is to be packed, so that
FEC will be only present on the first SILK frame of the next Opus frame (Opus repacketization).
2015-10-15 08:48:25 -04:00
Dragos Oancea
65fd07923e FS-8319: mod_opus: fix and cleanup of switch_opus_has_fec() and switch_opus_info(). 2015-10-12 10:37:09 -04:00
Anthony Minessale
393ee022b0 FS-8179 regression setting fec_decode breaks output on stereo calls 2015-10-09 12:30:45 -05:00
Dragos Oancea
ea65a31e30 FS-8313: mod_opus: show decoder stats at end of call (how many times it did PLC or FEC) 2015-10-07 14:55:34 -04:00
Anthony Minessale
7f85faf21e FS-8130 FS-8305 refactor of last patch plus suppression of scary harmless message about opus fec 2015-10-06 09:34:29 -05:00
Dragos Oancea
8a0006dcdc FS-8302: fix some printing/logging because switch_opus_show_audio_bandwidth() was not returning TRUE/FALSE as expected 2015-10-05 10:54:21 -04:00
Brian West
75b01a306e FS-8130 2015-10-04 16:53:54 -05:00
Anthony Minessale II
86197b7ee3 Merge pull request #479 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-init-improvements to master
* commit '27d7ebeb94c5ea23e612e0a7356919f19e74bdd5':
  FS-8296: mod_opus: Improve the way Opus is initialized when a call comes in .
2015-10-04 11:22:04 -05:00
Dragos Oancea
27d7ebeb94 FS-8296: mod_opus: Improve the way Opus is initialized when a call comes in . 2015-10-03 15:26:39 -04:00
Dragos Oancea
01545832f4 FS-8295: mod_opus: FMTP fixes: usedtx for 8khz . useinbandfec and cbr (both 48 khz and 8 khz)
Some FMTP params were broken when INVITE was originated by FS.
2015-10-03 14:47:08 -04:00
Anthony Minessale
dcdf4685af FS-8243 8b088c26fbf4eba3daaacfaa6e29ab765f7321ba breaks perfectly working fec, adding back the missing part that actually works in most surroundings 2015-10-03 02:38:00 -05:00
Michael Jerris
5f210b4d75 FS-8243: fix typo of return from previous patch 2015-10-02 23:43:11 -04:00
Mike Jerris
76b11fd8c7 Merge pull request #430 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-originate-fmtp-ptime to master
* commit 'efeb720a01993a52f2614cbcab14995a88af2721':
  FS-8034: mod_opus: send correct (configured) fmtp ptime,minptime,maxptime when originating call
2015-10-02 12:57:53 -05:00
Mike Jerris
41431c0f09 Merge pull request #487 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-keep-fec-on-improvements-loss to master
* commit '6385fb863a7e800dbb2668fd0ed4e1203b1ba18e':
  FS-8161: mod_opus: Keep FEC enabled only if loss > 10 ( otherwise PLC is supposed to be better)
2015-10-02 12:52:51 -05:00
Anthony Minessale
b61ebc759b FS-8179 2015-10-02 12:51:57 -05:00
Mike Jerris
822e5a7b96 Merge pull request #516 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-fec-detect-improvement to master
* commit '8b088c26fbf4eba3daaacfaa6e29ab765f7321ba':
  FS-8243: Improve the way FEC info is detected within frames (added support for ptimes higher than 20 ms for FEC detection ) (Claude Lamblin)
2015-10-02 12:50:34 -05:00
Corey Burke
0641315ef6 Use use-dtx setting from config in request to callee. 2015-10-02 08:13:05 -07:00
Anthony Minessale
ead42d56b5 FS-8179 #resolve [mod_opus: improvement on new JB buffer debugging (debug lookahead FEC)] 2015-10-01 19:12:03 -05:00
Dragos Oancea
30847cf76b FS-8256: mod_opus: more FMTP cleanup 2015-09-30 14:35:45 -04:00
Dragos Oancea
8b088c26fb FS-8243: Improve the way FEC info is detected within frames (added support for ptimes higher than 20 ms for FEC detection )
(Claude Lamblin)
2015-09-29 18:35:47 -04:00
Anthony Minessale
7ea9b684a7 FS-8204 add sprop-stereo also 2015-09-22 15:31:20 -05:00
Dragos Oancea
6385fb863a FS-8161: mod_opus: Keep FEC enabled only if loss > 10 ( otherwise PLC is supposed to be better) 2015-09-17 13:29:38 -04:00
Mike Jerris
e7d11375ad Merge pull request #451 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_repacketize_refactor to master
* commit '753213b7459000e8aa1c8aa170d04b9371c6f629':
  FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms)
2015-09-17 11:33:51 -05:00
Dragos Oancea
de67b09e80 FS-8179: mod_opus: improve JB debugging with FEC 2015-09-17 10:05:00 -04:00
Dragos Oancea
753213b745 FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms) 2015-09-17 05:20:39 -04:00
Anthony Minessale
d57ab43f32 FS-8130 code error 2015-09-16 17:05:00 -05:00