802 Commits

Author SHA1 Message Date
Dragos Oancea
a562db760c
[mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
* [mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
sprop-stereo will be set to 0 too.

* [core] opus: use switch_core_max_audio_channels() with remote fmtp stereo=1 to allow disabling of stereo.
2021-05-14 18:36:30 +03:00
Dragos Oancea
2915d3aba8 [mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs. 2021-05-07 14:29:33 +00:00
Andrey Volk
2c2f2f9606
Merge pull request #1103 from dragos-oancea/amr_sync_changes_from_amrwb
[mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs
2021-03-10 23:34:36 +03:00
Dragos Oancea
4734904d2d [mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs. 2021-03-10 15:49:10 +02:00
Dragos Oancea
1d07634d7d [mod_amrwb] handle frame types SPEECH_LOST and NO_DATA. add unit test. 2021-03-05 11:30:52 +02:00
Dragos Oancea
752e1c3386 [mod_amr] handle frame type NO_DATA and add unit test. 2021-03-03 19:51:24 +02:00
Chris Rienzo
6a19627dcd
Merge pull request #684 from dragos-oancea/amrwb-oa-cfg
[mod_amrwb] add cfg setting to switch between OA/BE when originating
2021-02-13 12:54:53 -05:00
Chris Rienzo
69c1de9deb
Merge pull request #976 from dragos-oancea/amrwb-log-session
[mod_amrwb] show the session in debug logs.
2021-02-13 12:06:49 -05:00
Dragos Oancea
d2959010c1 [mod_amrwb] show the session in debug logs. 2021-02-05 14:38:32 +00:00
Ítalo Rossi
6ddb61fd4e [mod_opus] Do not hangup call on decode error - fix 86a5ee3509 2020-12-11 14:44:02 -03:00
Lin.Sun
715ee3d2a2 [mod_silk] switch_silk_decode: Fix invalid condition for return code from switch_jb_peek_frame(). 2020-07-10 13:40:36 +04:00
Dragos Oancea
0b9c7c678b [mod_amrwb] add cfg setting to switch between OA/BE when originating 2020-06-10 12:20:45 +00:00
Andrey Volk
0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
paxc
9bec823f22 [mod_openh264] Fix stap-a size issue and add unit test. 2020-05-15 20:35:58 +04:00
Andrey Volk
a2c657c7bb [mod_amr] scan-build: fix dead increment of fmtptmp_pos in switch_amr_init() 2020-05-08 02:56:37 +04:00
Andrey Volk
5b1088d39f
Merge pull request #133 from jay98237438/master
[mod_amr, mod_amrwb] RFC4867 mode-set compliancy
2020-05-08 01:55:50 +04:00
sunlin
43b35ae4f2
[mod_silk] Fix mod_silk always init with maxaveragebitrate=20000 2020-05-08 01:52:39 +04:00
Andrey Volk
06f905de9d
Merge pull request #484 from dragos-oancea/mod_amrwb-fixleak-xml
[mod_amrwb] fix memory leak at load time (xml)
2020-03-12 21:06:44 +04:00
Dragos Oancea
e2e6d13cd8 [mod_amrwb] fix memory leak at load time (xml) 2020-03-06 15:08:29 +00:00
Dragos Oancea
d0502b405e [mod_amr] fix memory leak at load time (xml) 2020-03-06 15:00:33 +00:00
Andrey Volk
395afbefaa
Merge pull request #416 from dragos-oancea/mod_amr-nullptr-deref
[mod_amr] scan-build: Array access (from variable 'tocs') results in a null pointer dereference - switch_amr_unpack_oa()
2020-02-26 23:27:25 +04:00
Dragos Oancea
0c2873e726 [mod_amr] scan-build: Array access (from variable 'tocs') results in a null pointer dereference - switch_amr_unpack_oa() 2020-02-25 17:51:09 +00:00
Dragos Oancea
a07c0447f0 [mod_amr] scan-build: Value stored to 'ft' is never read - switch_amr_unpack_be() 2020-02-25 17:38:15 +00:00
Dragos Oancea
d68a7e2490 FS-10642: [mod_amr], [mod_amrwb]: mark AMR and AMRWB as VBR (don't let mod_native_file load them for playback/recording) 2020-01-22 12:48:30 +00:00
jay98237438
f7a424a263 [mod_amrwb] RFC4867 mode-set compliancy
Yield to offered mode-set when set.

From RFC4867:
If a mode set was supplied in the offer, the answerer SHALL return the mode-set unmodified or reject the payload type.
2019-11-21 13:54:40 +00:00
jay98237438
e83c6a4607 [mod_amr] RFC4867 mode-set compliancy
Yield to offered mode-set when set.

From RFC4867:
If a mode set was supplied in the offer, the answerer SHALL return the mode-set unmodified or reject the payload type.
2019-11-21 13:54:33 +00:00
Dragos Oancea
86a5ee3509 FS-11945: [mod_opus] don't hangup call on decoder error. 2019-07-23 18:02:52 +04:00
Mike Jerris
7906a2054a FS-11919: [core] add api compatibility for switch_rtp_new 2019-07-17 16:43:34 -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
Mitch Capper
1f0dea990b FS-11865 [mod_com_729] change to use latest version for mod_com_g729 bins so url does not go stale and update new binary paths 2019-05-29 13:01:27 -07: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
Andrey Volk
7ebe4134ef FS-11423: [mod_isac] Add ARM64 detection. 2018-09-30 18:53:41 +03:00
Andrey Volk
6005400994 FS-11390: [mod_codec2] Use system libcodec2. 2018-09-15 14:58:05 +03:00
Andrey Volk
671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +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
Andrey Volk
a1bff96d40 FS-10516: [Build-System] Move libsilk from tree to download on windows. 2017-07-18 22:16:48 +03:00
Andrey Volk
c1d964a0a5 FS-10510: [Build-System] Add mod_codec2, move libcodec2 from tree to download on windows. 2017-07-18 18:32:10 +03:00
Andrey Volk
5dabf58f7b FS-10509: [Build-System] Move broadvoice from tree to download on windows. 2017-07-18 00:35:48 +03:00
Andrey Volk
e1a4f42371 FS-10504: [Build-System] Move iLBC from tree to download on windows. 2017-07-17 19:24:26 +03:00
Andrey Volk
06ef631039 FS-10489: [build-system] Move libg7221 from tree to download on Windows. 2017-07-14 18:25:09 +03: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
Brian West
a2570b344f FS-10125 small fix 2017-03-14 13:03:30 -05:00
Brian West
92146d8e24 FS-10125 [new_module] clearmode passthru codec 2017-03-10 16:40:32 -06: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
Seven Du
8df7fe3467 FS-9137 update to openh264 release 1.6.0 2017-02-09 11:37:06 +08:00
Seven Du
5d11524dcf FS-9137 update to openh264 release 1.5.0 and tweak some params 2017-02-09 10:43:32 +08:00
Dragos Oancea
3ccf1704c1 FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes) 2016-12-07 12:06:01 -05:00