Commit Graph

830 Commits

Author SHA1 Message Date
Patty Watson
92ca4293db [mod_amr, mod_amrwb] Increase AMR-NB and AMR-WB max decode buffer size by one byte
Co-authored-by: Patty Watson <patty.watson@ryzyliant.com>
2025-06-12 00:13:52 +03:00
Andrey Volk
6bad50d875 [mod_clearmode] Remove from tree 2025-01-16 13:53:57 +03:00
Andrey Volk
e600ab66a7 [mod_theora] Remove from tree 2025-01-16 01:27:53 +03:00
Andrey Volk
d4fd3cc054 [mod_h26x] Remove from tree 2025-01-13 23:24:50 +03:00
Andrey Volk
6286c51ff6 [mod_isac] Remove from tree 2025-01-08 20:46:37 +03:00
Andrey Volk
4235d86aee [mod_mp4, mod_mp4v, mod_mp4v2] Remove from tree 2025-01-07 20:18:07 +03:00
Andrey Volk
7d88add653 [mod_dahdi_codec] Remove from tree 2025-01-07 12:21:53 +03:00
Andrey Volk
1944260c7b [mod_sangoma_codec] Remove from tree 2025-01-03 01:57:32 +03:00
Jakub Karolczyk
84ab90895a [mod_amrwb] Fix scan-build 14 2024-04-26 13:11:54 +00:00
Andrey Volk
647035c323 [mod_opus] Fix status returned by switch_opus_decode(). Should be SWITCH_STATUS_FALSE instead of SWITCH_STATUS_NOOP. Add a unit-test. 2024-02-06 00:36:35 +03:00
Dmitry Kunilov
d148a3e412 [mod_amr, mod_amrwb] Fix input data corruption
* Fix input data corruption in AMR and AMRWB codecs

* [amr/amrwb] Check encoded frame size before decoding

* [mod_amr, mod_amrwb] Coding guidelines cleanup.

---------

Co-authored-by: Dmitry Kunilov <dmitry.kunilov@upm.solutions>
Co-authored-by: Andrey Volk <andywolk@gmail.com>
2024-01-24 16:50:08 +03:00
Andrey Volk
64f8ff03be [Core, mod_mariadb, mod_ilbc] Fix build on gcc 12. 2023-07-25 00:25:53 +03:00
Andrey Volk
0f445e1ddd [core, mod_opus] more elastic jitterbuffer with Opus codec
* [core, mod_opus] more elastic jitterbuffer with Opus codec

* [Core] JB: Fix crash on null channel

* [Core] JB: Fix target_seq race in check_jb_size()

* Code cleanup

---------

Co-authored-by: Julien Chavanton <jchavanton@gmail.com>
2023-07-21 20:03:00 +03:00
Andrey Volk
34f1d974f5 Revert "[core, mod_opus] more elastic jitterbuffer with Opus codec (#2069)"
This reverts commit 67840823c1.
2023-07-12 18:18:17 +03:00
Andrey Volk
95457f7922 Revert "[mod_opus] Fix Windows build regression made by previous commit"
This reverts commit 25afda9be0.
2023-07-12 18:17:52 +03:00
Andrey Volk
25afda9be0 [mod_opus] Fix Windows build regression made by previous commit 2023-06-23 21:25:16 +03:00
Julien Chavanton
67840823c1 [core, mod_opus] more elastic jitterbuffer with Opus codec (#2069) 2023-06-23 16:45:31 +03:00
Dragos Oancea
7bc999309c [mod_opus] fix remote codec rate to match. 2023-06-15 16:29:43 +03:00
Dragos Oancea
5e914efc8c [core, mod_opus] bring more fmtp params to core (offer/answer). 2023-06-15 16:26:17 +03:00
Dragos Oancea
5065c0b118 [mod_opus] fix samples_per_packet for 8khz, 16khz, 24khz. 2023-06-15 16:22:52 +03:00
Dragos Oancea
a458d704ab [mod_opus] show uuid in logs. 2023-06-14 16:01:27 +03:00
Dragos Oancea
24452ff104 [mod_opus] fix configuration glitches (switch_true() instead of atoi()). 2023-06-14 15:57:54 +03:00
Andrey Volk
4d3b0a5778 [mod_opus] Fix buf scope in switch_opus_decode(). 2023-04-10 15:10:17 +03:00
Andrey Volk
f5f7f76cd4 Merge pull request #2006 from dragos-oancea/mod_amr-cov
[mod_amr] coverity CID 1395603 (Unsigned compared against 0)
2023-03-29 19:19:47 +03:00
Dragos Oancea
3c1824a685 [mod_amr] coverity CID 1395603 (Unsigned compared against 0) 2023-03-29 17:20:04 +03:00
Dragos Oancea
3c4695ea31 [mod_opus] coverity CID 1320733 (Result is not floating-point) 2023-03-29 17:18:57 +03:00
Andrey Volk
c47c16b1dd Fix dead nested assignments in various modules 2022-08-09 23:20:52 +03:00
wangxiaoli
1cbb2e6fc3 [mod_openh264, mod_av] add avcodec and openh264 debug 2021-10-23 22:00:13 +03:00
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