Commit Graph

35732 Commits

Author SHA1 Message Date
Andrey Volk 7f62d6168d
Merge pull request #2113 from dragos-oancea/more_opus
[Core, mod_opus] Fixes.
2023-06-15 20:48:11 +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 f90aeade4f [core] Opus RTP timestamp: adding an exception on RTP session creation.
https://www.rfc-editor.org/rfc/rfc7587.html
"The RTP timestamp is incremented with a 48000 Hz
   clock rate for all modes of Opus and all sampling rates.  The unit
   for the timestamp is samples per single (mono) channel"

Follow up: 50f57f85732b0d5a58a39f3fca7b654f894b0c9d, ccbef9e0c7 .
2023-06-15 16:25:46 +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
Dragos Oancea 9b20b324f5
[mod_sofia] Coverity fixes
[mod_sofia] coverity CID 1024253 (Dereference before null check)
[mod_sofia] coverity CID 1024254 (Dereference before null check)
[mod_sofia] coverity CID 1257620 (Logically dead code)
[mod_sofia] coverity CID 1024750 (Dereference null return value)
2023-06-12 18:17:12 +03:00
Andrey Volk 645b610e79
Merge pull request #2109 from signalwire/switch_core_media_set_codec
[Core] Fix possible deadlock in switch_core_media_set_codec()
2023-06-12 18:03:26 +03:00
Andrey Volk b4e43214f7 [Core] Fix possible deadlock in switch_core_media_set_codec() 2023-06-12 17:47:02 +03:00
Dragos Oancea 86875d2381
[mod_verto] Coverity fixes
[mod_verto] coverity CID 1468439 (Dereference after null check)
[mod_verto] coverity CID 1294451 (Dereference before null check)
[mod_verto] coverity CID 1468443 (Logically dead code)
2023-06-12 17:25:37 +03:00
Andrey Volk 9eda0c41eb
Merge pull request #2104 from dragos-oancea/cov-mod_portaudio
[mod_portaudio] coverity CID 1024263 (Dereference before null check)
2023-06-12 17:03:16 +03:00
Andrey Volk 7a47ed19c7
Merge pull request #2106 from dragos-oancea/cov-mod_spandsp
[mod_spandsp] Coverity CID 1024263 (Dereference before null check)
2023-06-12 16:58:09 +03:00
Andrey Volk 13ae4e3853
Merge pull request #2108 from signalwire/add_new_media_getters
[core] Add switch_core_media_get_engine() and switch_core_media_get_codec() functions
2023-06-09 22:48:30 +03:00
Jakub Karolczyk b0a52eb1fe [core] Add switch_core_media_get_engine() and switch_core_media_get_codec() functions 2023-06-09 18:25:25 +00:00
Andrey Volk d7a4ab7dce [mod_spandsp] Coverity CID 1024263 (Dereference before null check) 2023-06-09 12:18:19 +03:00
Dragos Oancea ef275aec8a [mod_portaudio] coverity CID 1024263 (Dereference before null check) 2023-06-09 12:15:11 +03:00
Andrey Volk 0c89eeadc0
Merge pull request #2095 from signalwire/ksverto
[mod_verto] Include libks/ks.h instead of ks.h
2023-05-31 01:28:00 +03:00
Andrey Volk 35823b650a [mod_verto] Include libks/ks.h instead of ks.h 2023-05-30 22:45:54 +03:00
Henrique a4af2ea7de
[mod_png] Fix unexpected png video blocked read 2023-05-24 02:14:22 +03:00
Andrey Volk 8aa6a8a904
Merge pull request #2088 from elkpi/master
[mod_sofia] fix sofia_glue_get_extra_headers memory leak
2023-05-16 20:07:54 +03:00
ping a3a4244f21
[mod_sofia] fix sofia_glue_get_extra_headers memory leak 2023-05-17 00:29:13 +08:00
Andrey Volk 9b15516f23
Merge pull request #2084 from signalwire/sofiabump
Bump sofia-sip library requirement to version 1.13.15
2023-05-15 19:18:35 +03:00
Andrey Volk 21613b6f68 Bump sofia-sip library requirement to version 1.13.15 2023-05-13 15:25:51 +03:00
Andrey Volk f377a0ff57
Revert "[Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0" (#2070)
This reverts commit 0398238489.
2023-05-01 20:38:51 +03:00
Clarence 0398238489
[Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0
* [core] fix deprecated with libcurl>=7.56.0

* [mod_httpapi] fix deprecated with libcurl>=7.56.0

* [mod_curl] fix deprecated with libcurl>=7.56.0

* [mod_http_cache] fix deprecated with libcurl>=7.12.1
2023-04-27 23:43:32 +03:00
Dragos Oancea b5cb26dc47
[Core] Coverity fixes
* [core] coverity CID 1024482 (Dereference after null check)

* [core] coverity CID 1468368 (Logically dead code)

* [core] coverity CID 1468459 (Logically dead code)

* [core] coverity CID 1232742 (Dereference before null check)
2023-04-18 19:30:22 +03:00
Andrey Volk dbd37bdc51
Merge pull request #2052 from dragos-oancea/mod_dptools-cov3
[mod_dptools] coverity CID 1468646 (Unsigned compared against 0)
2023-04-18 13:25:13 +03:00
Andrey Volk dd81253ab1
Merge pull request #2054 from dragos-oancea/mod_avmd-cov3
[mod_avmd] coverity CID 1395555 (Dereference before null check)
2023-04-18 13:23:26 +03:00
Dragos Oancea 5597fe3098 [mod_avmd] coverity CID 1395555 (Dereference before null check) 2023-04-18 12:58:16 +03:00
Dragos Oancea e1d966ed0a [mod_dptools] coverity CID 1468646 (Unsigned compared against 0) 2023-04-18 12:55:42 +03:00
Andrey Volk 77a5fa3b0d
Merge pull request #2055 from dragos-oancea/mod_sofia-cov3
[mod_sofia] coverity CID 1468496 (Unchecked return value)
2023-04-17 23:29:03 +03:00
Jakub Karolczyk 6eefc674fe
[mod_avmd] Coverity fixes
* [mod_avmd] Coverity CID 1395501 (Dereference null return value)

* [mod_avmd] Coverity CID 1395478 (Resource leak)
2023-04-17 21:49:42 +03:00
Andrey Volk cb3373872a
Merge pull request #2053 from dragos-oancea/mod_erlang_event-cov3
[mod_erlang_event] coverity CID 1500239 (Uninitialized scalar variable)
2023-04-17 21:22:43 +03:00
Andrey Volk 991c7be001
Merge pull request #2051 from dragos-oancea/mod_opusfile-cov3
[mod_opusfile] coverity CID 1468424 (Missing break in switch)
2023-04-17 20:15:53 +03:00
Andrey Volk 2debb076ed
Merge pull request #2042 from signalwire/coverity_13042023_mod_v8
[mod_v8] Coverity CID 1468570 (Resource leak)
2023-04-17 19:50:04 +03:00
Andrey Volk e2544341bd
Merge pull request #2045 from signalwire/coverity_13042023_mod_rayo
[mod_rayo] Coverity CID 1395579 (Resource leak)
2023-04-17 19:46:01 +03:00
Jakub Karolczyk 075724845e [mod_rayo] Coverity CID 1395579 (Resource leak) 2023-04-17 15:33:47 +01:00
Andrey Volk 106e8b38f0
Merge pull request #2044 from signalwire/coverity_13042023_mod_radius_cdr
[mod_radius_cdr] Coverity CID 1395529 (Resource leak)
2023-04-17 16:59:24 +03:00
Dragos Oancea aab9839678 [mod_sofia] coverity CID 1468496 (Unchecked return value) 2023-04-17 14:55:13 +03:00
Dragos Oancea 01e960cd90 [mod_erlang_event] coverity CID 1500239 (Uninitialized scalar variable) 2023-04-17 14:51:45 +03:00
Dragos Oancea 98c0482844 [mod_opusfile] coverity CID 1468424 (Missing break in switch) 2023-04-17 14:47:39 +03:00
Jakub Karolczyk 0c2edc4f56 [mod_radius_cdr] Coverity CID 1395529 (Resource leak) 2023-04-17 12:01:14 +01:00
Jakub Karolczyk bc00add254
[mod_kazoo] Coverity fixes (#2043)
* [mod_kazoo] Coverity CID 1395503 (Resource leak)

* [mod_kazoo] Coverity CID 1468146 (Resource leak)

* [mod_kazoo] Coverity CID 1468483 (Resource leak)
2023-04-17 13:53:26 +03:00
Andrey Volk 371d3c6164
Merge pull request #2041 from signalwire/coverity_13042023_mod_java
[mod_java] Coverity CID 1320752 (Resource leak)
2023-04-17 13:50:03 +03:00
Andrey Volk 12af59e67e
Merge pull request #2040 from signalwire/coverity_13042023_mod_translate
[mod_translate] Coverity CID 1301006 (Resource leak)
2023-04-17 13:45:56 +03:00
Jakub Karolczyk 0b05623cef [mod_translate] Coverity CID 1301006 (Resource leak) 2023-04-16 14:22:09 +01:00
Jakub Karolczyk 85a109617f [mod_java] Coverity CID 1320752 (Resource leak) 2023-04-14 17:41:33 +01:00
Jakub Karolczyk 70c144309c [mod_v8] Coverity CID 1468570 (Resource leak) 2023-04-14 17:40:48 +01:00
Andrey Volk b1bf3b0574
Merge pull request #2038 from signalwire/capture
[mod_commands] Fix leaking session readlock in uuid_capture_text
2023-04-14 16:51:13 +03:00