Commit Graph

35767 Commits

Author SHA1 Message Date
Andrey Volk 1b58c8bdd0 [mod_skinny] Fix build on Debian 12: error: array subscript 'skinny_message_t {aka struct skinny_message}[0]' is partly outside array bounds 2023-07-24 21:15:52 +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
Jakub Karolczyk 55f2dc4759
[core] Coverity fixes
* [core] Coverity CID 1024233 (Dereference before null check)

* [core] Coverity CID 1024239 (Dereference before null check)

* [core] Coverity CID 1024242 (Dereference before null check)

* [core] Coverity CID 1024243 (Dereference before null check)

* [core] Coverity CID 1024453 (Dereference before null check)

* [core] Coverity CID 1024554 (Logically dead code)

* [core] Coverity CID 1024868 (unchecked return value from library)

* [core] Coverity CID 1024869 (unchecked return value from library)

* [core] Coverity CID 1468281 (Dereference before null check)

* [core] Coverity CID 1024238 (Dereference before null check)

* [core] Coverity CID 1468621 (Copy into fixed size buffer)

* [core] Coverity CID 1024871 (Unchecked return value)
2023-07-21 13:49:40 +03:00
Jakub Karolczyk e764f292b5
Merge pull request #2167 from signalwire/migrate_to_ffmpeg5win
[mod_av] Add FFmpeg 5.1.3 support on Windows.
2023-07-18 18:44:18 +01:00
Andrey Volk e8c80bf7fb
Merge pull request #2166 from signalwire/migrate_to_ffmpeg5
[mod_av] Migrate to FFmpeg 5.1
2023-07-18 20:38:33 +03:00
Andrey Volk 9f8de014a1 [mod_av] Add FFmpeg 5.1.3 support on Windows. 2023-07-18 19:38:06 +03:00
Jakub Karolczyk 667783831b [mod_av] Migrate to FFmpeg 5.1 2023-07-18 10:32:05 +00:00
Andrey Volk 2f81317ac1
Merge pull request #2155 from signalwire/move_to_packetizer
[core,mod_av,unit-tests] Make transition to core packetizer
2023-07-17 18:31:27 +03:00
Andrey Volk d73fb3ec7a
Merge pull request #2163 from signalwire/MEDIA_PARAMS
[Core] Fix missing MEDIA_PARAMS in message_names.
2023-07-17 18:28:12 +03:00
Andrey Volk fdce50e420 [Core] Fix missing MEDIA_PARAMS in message_names. 2023-07-16 21:20:56 +03:00
Andrey Volk 5e439b7384
Merge pull request #2162 from signalwire/libks2
[Build-System] Update libks and signalwire-c requirements to 2.0
2023-07-14 13:33:20 +03:00
Andrey Volk 7c1faeff48 [Build-System] Update libks and signalwire-c requirements to 2.0 2023-07-13 21:23:34 +03:00
Andrey Volk 51dbe89df6
Merge pull request #2157 from signalwire/revertopus
Revert "[core, mod_opus] more elastic jitterbuffer with Opus codec (#2069)
2023-07-12 20:38:52 +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 224eb221e0
Merge pull request #2146 from linuxmaniac/vseva/mod_python3
[mod_python3] Fix build on Python 3.10+
2023-07-11 17:50:35 +03:00
Victor Seva 2cf57c41b6 [mod_python3] fix build on Python 3.10+
fix #2145
2023-07-10 19:21:04 +02:00
Jakub Karolczyk 930341ba86 [core,mod_av,unit-tests] Make transition to core packetizer 2023-07-10 12:58:19 +00:00
Andrey Volk 48e1812e29
Merge pull request #2151 from signalwire/fix_func_decl
[mod_verto] Fix function declarations without a prototype
2023-07-08 18:47:21 +03:00
Jakub Karolczyk c9fb586c34 [mod_verto] Fix function declarations without a prototype 2023-07-08 06:29:23 -05:00
Andrey Volk 545538fb7a
Merge pull request #2142 from signalwire/fix_macos_build
[xmlrpc-c] Fix MacOS build
2023-07-08 13:04:54 +03:00
Jakub Karolczyk 921eebdbea [xmlrpc-c] Fix MacOS build 2023-07-08 04:41:10 -05:00
Jakub Karolczyk ab211c542a
Merge pull request #2140 from signalwire/fix_vars_not_used
[core,miniupnpc,modules] Fix not used variables
2023-07-05 13:18:15 +01:00
Andrey Volk bd5bea5b2c
Merge pull request #2141 from signalwire/remove_verbatim
[mod_sofia] Remove non-implemented verbose feature
2023-07-04 17:04:37 +03:00
Andrey Volk eec311d8d7 [Build-System] Update commit hash of SpanDSP on Windows. 2023-07-04 16:46:47 +03:00
Andrey Volk 845b4fdd5e
Merge pull request #2139 from signalwire/fix_func_decl_prot
[core,libyuv,modules] Fix function declarations without a prototype
2023-07-04 13:35:15 +03:00
Jakub Karolczyk 2afad15f48 [mod_sofia] Remove non-implemented verbose feature 2023-07-04 10:37:48 +01:00
Jakub Karolczyk 5656972bfe [core,miniupnpc,modules] Fix not used variables 2023-07-04 10:18:16 +01:00
Jakub Karolczyk a160eced99 [core,libyuv,modules] Fix function declarations without a prototype 2023-07-04 09:56:40 +01:00
David Villasmil b355bf21e6
[mod_conference] Add flag to destroy the conference only when all mandatory members disconnect. And set endconf to end the conference when any member with the flag disconnects (#2079)
* feature/mod_conference_mandatory_member_flag: Add flag to destroy the conference only when all mandatory members disconnect. And set endconf to end the conference when any member with the flag disconnects
2023-06-28 19:39:22 +03:00
Andrey Volk 244ccaa8a8
Merge pull request #2120 from signalwire/win
[mod_opus] Fix Windows build regression made by previous commit
2023-06-24 01:07:44 +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
Andrey Volk f64314ff48 [mod_sofia] Map SWITCH_CAUSE_REJECT_ALL cause to 603 2023-06-22 22:39:51 +03:00
Giacomo Vacca 9c63f03b45 [Core] Add new cause REJECT_ALL 2023-06-22 22:39:46 +03:00
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