Richard Fuchs
b82b31ec2b
MT#54294 convert cudecs usage to plugin
...
*) Remove packaging for -gpu packages
*) Remove build profile restrictions, except for the build dependency
itself
*) Remove script to generate dh fragments for -gpu packages
*) Convert --cudecs switch to a path argument pointing to the .so
*) Don't link against libcudecs during build
*) Only include the single types.h header needed for usage as a plugin
*) Resolve all symbols during startup after loading the .so
Change-Id: Ide99eec2156d5d3be8c40594391cb1603add4b16
2 years ago
Richard Fuchs
2fa121c0d9
MT#54294 add GPU support
...
Change-Id: I035eff68a4448ad1b2f5b4520943626e1723fce7
2 years ago
Richard Fuchs
0f9bb26143
MT#55283 unify __attribute__() test macros
...
Change-Id: Ia2ef8e995c78a2dd1fe33e37f78eed6e58191ac7
2 years ago
Richard Fuchs
d6928c74f8
MT#56374 add gettid() wrapper
...
... for older glibc which doesn't support it
Change-Id: I82cd49e6a10fd48861ae00c4eda06613f930fca7
2 years ago
Richard Fuchs
125657e108
MT#56374 move glib helper to auxlib
...
Needed by perf-tester
Change-Id: I9fcb68e48938a2060498bf30ff7ffbdd38c6d94b
2 years ago
Richard Fuchs
0be5b73887
MT#56374 add `poller-size` config var
...
Change-Id: Ibd6a42f5cc5b261ce95fe0231ec78e55bd66ac31
2 years ago
Richard Fuchs
196249ee00
MT#56374 refactor asan pthread cleanup hack
...
... in terms of macros that can be reused.
Change-Id: I394dece8ec22ce4eff4deefe5ddd6315bb35a6fb
2 years ago
Richard Fuchs
118a7ed472
MT#56374 move thread_create to lib
...
It actually uses a shared config setting from the lib (stack size) so
the function itself also belongs in the lib.
Change an argument type to bool.
Change-Id: I8be68008fcfc058cb29069102eb00497b66897a5
2 years ago
Richard Fuchs
4aa1d5f6cd
MT#55283 move prototype
...
... to appropriate section in .h
Change-Id: Ia66f7df2b8d0393a21505676b9c30adb9b948f2b
2 years ago
Richard Fuchs
ee0fa947ce
MT#56374 move resources() to lib
...
Useful helper function for other components
Change-Id: Idb8ab38e3ac27461b71e28029e7abc0bfc0529c2
2 years ago
Richard Fuchs
16c08efe62
MT#56374 move pthread helper functions to auxlib
...
The poller (also in lib) depends on this.
Change-Id: Iabf7c2ddef129401c19ae6a1f4f391ab9eaa4367
2 years ago
Richard Fuchs
61ca57f0cf
MT#56374 move ssl_random to auxlib
...
The poller (now also in lib) depends on this.
Change-Id: I8185e514c7a7aeef80c905136795904340ff60dc
2 years ago
Richard Fuchs
84f4467241
MT#56374 move rtpe_shutdown to auxlib
...
This is a dependency of the poller and so is needed in lib/ as well to
make it usable.
Also consolidate the type.
Change-Id: I70ec8a200d6cd65710ac93636a9495cf24c35ef4
2 years ago
Richard Fuchs
ddc79e5713
MT#55283 add missing header
...
Change-Id: I40a9758e8af0003b64478c6d2bff85e6ab8eae2c
2 years ago
Richard Fuchs
bc742bb1ad
MT#56447 add wrapper g_hash_table_steal_extended
...
Compatibility for glib versions older than 2.58
Change-Id: Ie212a1c08efa87f103b31eac31f81a3870e5cedd
2 years ago
Richard Fuchs
ed30c55312
MT#56447 fix LOCK __COUNTER__ expansion
...
We need two levels of CPP macros so that __COUNTER__ is expanded before
being concatenated.
Change-Id: I04d871a3bb841080eb8992bb8261551b5bd22832
2 years ago
Richard Fuchs
cd185fd168
MT#56493 move GTree helpers to auxlib
...
Change-Id: Ia3135d9f2c370d9c18d7249506256241339df9d1
2 years ago
Richard Fuchs
dc1a44f3ec
MT#55447 add support for EVS
...
Change-Id: I54993cefbb3d30a4dc87b13507dd0d61739baaa0
3 years ago
Dup4
ad5d98e4d0
MT#55283 Squashed commit of the following:
...
closes #1560
closes #1559
commit e11f52c041
Author: Dup4 <lyuzhi.pan@gmail.com>
Date: Tue Nov 1 22:58:44 2022 +0800
fix: add comma
commit e0c2f47b49
Author: Dup4 <lyuzhi.pan@gmail.com>
Date: Tue Nov 1 22:01:26 2022 +0800
feat: add log-name option
Change-Id: I40a7b68120efb240faea86eb2d716d5e01a420c3
3 years ago
Richard Fuchs
941a50edd5
TT#156900 add helper functions and macros
...
Change-Id: I341632e4b6dbefd6743b9b1c4578c374c84505b2
3 years ago
Richard Fuchs
56d4ff74f2
TT#14008 add config knob for max log line length
...
This is useful because we log to stderr, which technically would allow
unlimited log line length, but this is in fact turned over to syslog,
which truncates log lines that are too long.
Change-Id: Iee8994842335ab1cf94941c14eced01e29120bc9
3 years ago
Richard Fuchs
f04332915b
TT#91151 add publish/subscribe commands
...
Change-Id: I1842b89efea7fa3af0bd4d045e49da31285cd0e1
4 years ago
Richard Fuchs
34e61f9adf
TT#119504 introduce auto-unlock type
...
Change-Id: Iea78b823a7729d8bac079a2e2bc2c71ab9f90780
4 years ago
Richard Fuchs
25cb6ff857
TT#14008 handle deprecated g_memdup
...
GLib 2.68 deprecates g_memdup() in favour of g_memdup2() as the former
was using a guint second argument which could lead to integer overflows
(gsize should be used instead).
Change-Id: Iaa3e3b1ecaab00d1ac887c915397b15b7204dd11
4 years ago
Richard Fuchs
addaa6acbc
TT#111150 add missing include
...
auxlib.h uses uintXX_t types, which needs stdint.h
Change-Id: Ifad291074c501f2f0268f2eb48399b8bec70d272
4 years ago
Guillem Jover
07695d2abb
TT#111150 Use modern <stdint.h> uint<bits>_t types
...
The u_int<bits>_t are BSD legacy types, while the new ones are specified
by C99 and SUSv3.
Change-Id: Ia748cabc33a7e5adc2c7a6049ad1e55be0c788a8
4 years ago
Richard Fuchs
b0f185f409
TT#111357 refactor sysconf() call into shared code
...
Change-Id: Ifd8d1d774f55e7c58bf82c9a5f67787e02f53c3f
4 years ago
Richard Fuchs
1dbfbe87d3
TT#14008 move g_string_free helper to auxlib
...
Change-Id: I34e0aa0be1df06346e86684c6488caf8e302df9f
4 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
...
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
4 years ago
Richard Fuchs
f393d29009
TT#101202 keep timer queue entries with same timestamp in order
...
closes #1110
Change-Id: Ia121deb9589bfdfa112189b22d4a78bdb29c535b
5 years ago
Richard Fuchs
b260e145e7
TT#97500 set thread stack size
...
closes #1078
Change-Id: Iebe5effb917731c8ca553c9e599df613e763b255
5 years ago
Richard Fuchs
eae7f3a327
TT#84360 add new option to split multi-line log messages
...
Change-Id: Ie29301dbf5f704c4f3c87431e3c63fac761696d5
5 years ago
Richard Fuchs
48b33bd3dc
TT#28300 move auto cleanup functions to lib files
...
Change-Id: Id1fff1523b2bfecf2a929c235fe1719bc18b97f6
5 years ago
Richard Fuchs
a1fb92353a
TT#28300 eliminate free_buf in favour of free_gbuf
...
Change-Id: I128265ff2783c94b897de8ea58b99811fbbe3607
5 years ago
Stefan Mititelu
de28a65934
Solve Vlagrind "definitely lost" memory leaks
5 years ago
Richard Fuchs
ac825cc47a
TT#56553 fix double G.722 sample rate issues
...
Fixes missing RTP TS rescaling
Fixes double clock rate adjustment
Fixes sequencer not releasing packets after seq reset
Fixes #748
Change-Id: Ic6021ab6fd781cd291c0aba3e03633f565908c29
6 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
...
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
6 years ago
Richard Fuchs
354f75490d
TT#45617 add no-log-timestamps option
...
Log lines written to stderr that are consumed by journald will already
have timestamps added to them. Drop the redundant unixtime output for
this use case.
Change-Id: I34886a69a0ef90de2eb84ee8f446cbad624302c1
6 years ago
Richard Fuchs
d279789e23
silence warnings when compiling with -DNDEBUG
...
Change-Id: I46d16f6c083d281622ce71644bcf8d224e0b36b7
6 years ago
Richard Fuchs
29a83846d7
TT#50652 use a better timeval_cmp function
...
Change-Id: I727d1e7c28c2fe887fa0889060ae5f93883f52bd
6 years ago
Richard Fuchs
cfe6f87c8d
TT#50652 split timeval_cmp_ptr into function
...
Change-Id: I803e25bc3dc631d9eb05223d61708e9bfc5ca9de
6 years ago
Richard Fuchs
38c96468f1
TT#50652 move timeval functions into lib
...
Change-Id: Ia5701733845a4116b1455610c1d23d9abc247a9c
6 years ago
Richard Fuchs
4bb1381cfb
compile fixes for older openssl versions
...
closes #711
Change-Id: I04925a0cf105bf70d63dd7b1ed3297aceecac5a5
6 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
6 years ago
Guillem Jover
5ba52952c0
TT#42906 Add systemd notify support
...
Change-Id: Iba046fa3e36654cedb73203eb06a9d768720a6b0
7 years ago
Richard Fuchs
ff0a46a053
TT#30901 convert codec list to hash table
...
Change-Id: I0956b441101b4c33e0f186399ef5558f89744e12
7 years ago
Richard Fuchs
46d853972b
move lib/ config options into struct
...
Change-Id: I563b38cd64daea5f9137debff2fc7881a3cdaa9d
7 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
28b80181f2
TT#5566 add support for config file handling
...
closes #252
Change-Id: I92dd61c100319469c6ff4764c90bba5c3ab367a2
9 years ago
Richard Fuchs
ea72733ac0
support daemonizing in recording daemon
...
Change-Id: I9c76d63efe72d6598087a97f8bf93e0958b81fad
9 years ago