Guillem Jover
887fb40f3f
MT#61993 build: Force recursive variables into simple ones
Starting with GNU make 4.4, build time have massively regressed
where before they would take 5m on amd64 now can take 2h40m. While this
seems clearly broken, the release notes are filled with notices for
breaking changes, and in particular the one for passing all make
variables down to the invoked programs executed via the «shell» GNU make
function, so it is not clear what is expected breakage and what is not.
This has been reported in Debian, but not yet upstream, and while it
seems like a clear regression, it's not clear what will be the upstream
take on it. For now apply workarounds that do not change semantics, and
which do not regress with older GNU make versions.
Use the GNU make «origin» function instead of «?=» which defaults to
defining a variable as a recursive one. Coerce already defined variables
into simple ones to avoid GNU make re-evaluating these variables for
each «shell» function invocation.
Ref: https://bugs.debian.org/1092051
Change-Id: I076fc05dd616918473a22e7e942fecfdc9851d47
11 months ago
Richard Fuchs
1bcfb2baad
MT#55283 use bencode buffer for log limiter
This allows us to deallocate all held strings in one go without having
to iterate much.
Requires adjusting tests, Makefiles and dependencies.
Change-Id: Ic214f9dd2cd9609cb472301f52bb10d1918d859e
11 months ago
Richard Fuchs
b6bbf58383
MT#55283 enable strict aliasing
We should be ok.
Change-Id: Ibdf81ace9c6c62a9b58fcb56d3c80f7e0bcf62ee
1 year ago
Richard Fuchs
ebaca8a4e0
MT#55283 initial support for io_uring
Change-Id: I497db70a4ba6a9242b637a867a70fdfa0f361a44
2 years ago
Richard Fuchs
baf339fb60
MT#55283 update to C11
Change-Id: I966a3698a66eda0ab5485eed2841b4a2044efd73
2 years ago
Richard Fuchs
9fc1b547e3
MT#56471 add SIMD implementation of s16_mix_in
Change-Id: Ia7b47f7b32ca1042f9f32828da476ff5360a1c72
2 years ago
Richard Fuchs
6ced263477
MT#55283 add -Wshadow
Change-Id: If827311cbbbba48b3f483a4e2a3fc1dc7a957e4e
3 years ago
Donat Zenichev
125c17684d
MT#55897 Convert `rtpengine.pod` / `rtpengine-recording.pod` to MD
For a compatibility reasons (with other doc files and with RTD)
the `rtpengine.pod` and `rtpengine-recording.pod` file get
converted to the Markdown syntax.
The compilation of MD syntax synopsis files will work
using `ronn` application, which converts them to man pages.
Change-Id: I75b54a712786a0a237c51c702ed1a2cc09e3a033
3 years ago
Richard Fuchs
4964b90ca5
MT#55283 enable -Werror=return-type
Turn missing return values into hard errors.
Change-Id: I2f7e5bf11cfdce25fb6432a66b352d6e8103c037
3 years ago
Richard Fuchs
adad19fb4f
MT#55447 SIMD implementation for float conversion
Benchmarks vs the native C implementation:
C: 123.790894 s
AVX2: 1.567766 s
AVX512: 0.897813 s
Change-Id: Ieeeb7ce3bb2d59dbd3a057ce07e0b35c9f9c73e9
3 years ago
Richard Fuchs
ff47e874ea
MT#56493 add support for HTTP notifications
Change-Id: I3ac04968279a5b750f1f7f4d4d06207e05e7d8a8
3 years ago
Дилян Палаузов
48785408f9
MT#55283 make install - the man pages
Closes #1592
Change-Id: I99b37199db43b23f530d6e64ee88bfa620cbbd16
3 years ago
Richard Fuchs
797fc0e06b
MT#55283 provide "make install" targets
Provide the targets for the two /bin/ components.
Adapt .install debhelper files.
Adapt iptables module install location to use the environment variable.
Change-Id: I963feba5f60f53773e497121d8947e7b4997d687
3 years ago
Richard Fuchs
0448e12e0d
MT#56008 use hashed string lookup in codeclib.c
Change-Id: I627ac72aa994dea4b52bd3b8b9e8d587bb4c0127
3 years ago
Richard Fuchs
bb2316db1a
MT#56008 use libopus directly
Instead of going through ffmpeg to en/decode Opus, use libopus directly,
which allows us to benefit from additional features that aren't
available when going through ffmpeg.
Change-Id: I017c276cfa9755cefe95c8da26691446b718d4c8
3 years ago
Richard Fuchs
dc1a44f3ec
MT#55447 add support for EVS
Change-Id: I54993cefbb3d30a4dc87b13507dd0d61739baaa0
3 years ago
Guillem Jover
d3390bae32
TT#111150 Enable -Wextra minus some of its warnings producing much noise
We should eventually try to reduce the amount of -Wno-* options, but for
now this is a net improvement.
Change-Id: I3bd03679acbc157c0d1b3c257a542e2eec0e5ee9
5 years ago
Guillem Jover
8508177777
TT#111150 Split CFLAGS between required and optional
Change-Id: I683aef49534a7bf70958f72661a83003cea21c3b
5 years ago
Richard Fuchs
ab54b774ed
TT#14008 remove .depend from make system
The dependency tracker is causing more problems than what it's worth, so
just remove it.
Change-Id: I5db8cae57400cd644add08447406a4526da03f65
5 years ago
Richard Fuchs
d47f4ac427
TT#14008 make bcg729 inclusion conditional on dpkg profile
closes #1174
Change-Id: I277986ea30b25633c281291aa956fb2159c386ed
5 years ago
Richard Fuchs
5883f16383
TT#14008 allow externally set CFLAGS
Change-Id: I1cfc8ef5ae2df9edace39acffd803b0c766e9ac3
5 years ago
Richard Fuchs
8a4f88f1a4
TT#55050 man page updates
Adds rtpengine-recording man page and adds some missing arguments from
rtpengine.8
Change-Id: I054d1bcad08e6070cca41008f740c0cbecb15fa8
6 years ago
Richard Fuchs
c0781e5193
TT#58659 RFC DTMF to PCM transcoding
Change-Id: I32fa876940131e3a18f611e2a518f7acd1327665
7 years ago
Richard Fuchs
e3ec97f858
TT#50652 add -Wstrict-prototypes everywhere
Change-Id: Ic5b5fcb892a8f70196478f8622d956bdea373422
7 years ago
Richard Fuchs
4bb1381cfb
compile fixes for older openssl versions
closes #711
Change-Id: I04925a0cf105bf70d63dd7b1ed3297aceecac5a5
7 years ago
Richard Fuchs
3b28460507
TT#52651 Squashed commit of the following:
commit 2029144368
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 21 13:12:50 2019 -0500
TT#52651 switch TCP to TLS
Change-Id: Iab6b05d3b5c88553cbd6f531f3189084d9e71995
commit b28e718ee4
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 22 09:20:54 2019 -0500
TT#52651 generalise streambuf interface
Change-Id: I7d5ab8ffe13e52d4dbb1901531cc13fcc173d60d
commit cb2dbd2a92
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 19 09:32:56 2019 -0500
TT#52651 add start/stop forwarding commands and party selection logic
Change-Id: I8ef7e288d3a3e485bd2fa14e1a2407a0c8d94bac
commit 442c48f627
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 15:43:23 2019 -0500
TT#52651 produce output for TCP forwarding feature
Change-Id: I18543921577faf655679829684f5af46c0af5054
commit 2ef8028eb2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 10:18:21 2019 -0500
TT#52651 make recording to output files optional
Change-Id: I12c288b965641352658ce3b499c2ee90593e1322
commit 10a58cd7a0
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 16:02:16 2019 -0500
TT#52651 strip streambuf into lib and include in recording daemon
Change-Id: I1f6638961e9e767063e0b4e6b5d55d88799366d3
commit 9d3bb5bffc
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 15:40:12 2019 -0500
TT#52651 extract/move unrelated old legacy decoder struct members
Change-Id: Iffd79b43180c30a9e128a460f7ba85ba49dedeaf
commit 1bc38e4201
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:43:42 2019 -0500
TT#52651 config options for forwarding option
Change-Id: Ieaa2ee0e55a0c531158174bc6a534738a64dbee6
commit 06d61cd3dd
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:29:52 2019 -0500
TT#52651 move socket.[ch] into lib/
includes necessary re-shuffling of additional code pieces
Change-Id: I74b314ab5936ac8a0eeaff94e084617b59b28d79
Change-Id: I025e8ec86b90ede79565542dff57ec1559d04200
7 years ago
Richard Fuchs
31023572a5
TT#41900 save monologue label into recording DB
closes #582
Change-Id: Ibc894e82b61e4231c99f9618685a6232f7e50da7
7 years ago
Richard Fuchs
8c770b9e05
appropriate use of LDFLAGS and LDLIBS
fixes use of implicit make rules for some compilers
closes #539
Change-Id: I43a74ccf8155b1eafe90eba46ce155a2a6301a89
8 years ago
Richard Fuchs
33b262af78
TT#33700 migrate from avresample to swresample
closes #465
Change-Id: Ib23ea0dbaf151182360db8ae8e0bc94c93a1743a
8 years ago
Richard Fuchs
5a73f12adb
TT#34050 replace ffmpeg version test macro
fixes #484
Change-Id: Ia7aa9d63e09a90afc2814f0edede480c06ecc53a
8 years ago
Richard Fuchs
4d859bfd6b
TT#28163 add support for properly packaged libbcg729
also eliminate `` in makefiles
document external bcg729 requirement for Debian building
closes #460
Change-Id: Iadecbc6df81c2fe876acc20c25c8be0e85391779
8 years ago
Richard Fuchs
ff0a46a053
TT#30901 convert codec list to hash table
Change-Id: I0956b441101b4c33e0f186399ef5558f89744e12
8 years ago
Richard Fuchs
f8aad04948
TT#30404 move portions required for decoding from recording-daemon to lib
Change-Id: I4170dd3c93ca3c87954d2c1db5fd84ae071247bd
8 years ago
Richard Fuchs
d510f5efe8
TT#30404 initial support for adding codecs for transcoding
Change-Id: I58474ac2daee213d9f11157f61c2a3df90818fbe
8 years ago
Claudiu Boriga
3dcddf3ffa
recording-daemon: add option to forward calls
With this option, the daemon can forward calls
to a server via a UNIX domain socket insdead of
creating audio files.
8 years ago
Richard Fuchs
4313cb2596
logging improvements
9 years ago
Victor Seva
3c813acacc
support wheezy build reported at #343
(cherry picked from commit db7537b1f0 )
9 years ago
Richard Fuchs
f5cc21f92b
TT#10156 write recordings metadata into mysql database
Change-Id: If50b0528520fe816ed63494dc6c6e707fe9eca2c
9 years ago
Richard Fuchs
fb81332e80
handle multiple different sample types
fixes #306
9 years ago
Richard Fuchs
82be3340d8
TT#5566 align mixed audio's timecodes to each other
Change-Id: Ib9f82ba7f56da80a0171b108bccdb56e5334ce94
9 years ago
Richard Fuchs
5a54cc1772
TT#5566 support mixing all audio channels into one output
Change-Id: I0ffd8ba39fbda2c27e8bf7e6c36b965897f22c0c
9 years ago
Richard Fuchs
df869fff0f
automate lib symlink creation in makefiles
Change-Id: I5bedecfbe6e7c61bd505c075c4b2cd444cc4cc41
9 years ago
Richard Fuchs
9ce3522719
TT#5566 support audio resampling and custom mp3 bitrates
Change-Id: I71a245c69139815fd30f9f5cc6fb4fff9df8288b
9 years ago
Richard Fuchs
7b21df9510
split output/encoding stuff into separate file
Change-Id: Ibb5a16858728dc2803d5c973eb3ce02cee84fc59
9 years ago
Richard Fuchs
fb783f0080
TT#5566 configurable recording daemon
share more code between the two daemons
Change-Id: I77af5146cf3cef6ab8c145274b3fd8b031fba3e4
9 years ago
Richard Fuchs
ea72733ac0
support daemonizing in recording daemon
Change-Id: I9c76d63efe72d6598087a97f8bf93e0958b81fad
9 years ago
Richard Fuchs
f958b2a197
split logging mechanism into separate common files
Change-Id: I92dd843db2d1b5719e7809ce7d151d08c53938f2
9 years ago
Richard Fuchs
d7fa0689f9
TT#5566 rudimentary wav file output
Change-Id: Icdc97a9dc849bba6ba6add12d0bdd17f8b7712cd
9 years ago
Richard Fuchs
3977e94659
TT#5566 decode RTP streams
Change-Id: I2342d393c01f2119d7f60f7e6b16e17acd3e0a19
9 years ago
Richard Fuchs
411c3b3373
TT#5566 checkin of external call recording daemon
Change-Id: I8102144ab1508fe815be84d727f6fa3234fd0994
9 years ago