Richard Fuchs
ed68ee3ca5
MT#61977 add GCS storage option
Change-Id: Idc97ea18bae6215379072bbec05a7b5afae73f00
4 months ago
Richard Fuchs
0d1eeddd14
MT#61977 add S3 storage option
Change-Id: Ifa84b06a88189440b8e16da7f079a1dbdaf87125
4 months ago
Richard Fuchs
09c87d5464
MT#61977 move cleanup of notifiers
Destroy thread pool only after everything is finished using it
Change-Id: Iab8667b3a80aaf43581b19b03ff6191dfe69c8d6
4 months ago
Richard Fuchs
74bc521eab
MT#61977 use _get_content for notifications
Use the new _get_content function to provide the notification content to
cURL in memory instead of making it read a file. This makes it possible
to use it together with DB storage.
This also relieves the notification poster from deleting the file if the
"purge" option is set, making it possible to simply roll it into file
output being disabled.
Retain legacy support for the "purge" option.
Change-Id: Ia1d59018d79777759de894aba1d888c927e5ba00
4 months ago
Richard Fuchs
e8973a6d0c
MT#61977 support output-storage=none
Change-Id: I8b689d803326a633d52888fc8ed5607fca514c45
4 months ago
Richard Fuchs
820de80c14
MT#61977 convert notify-record option
Turn it into an output-storage option.
Change-Id: Id90be28f827117c0f276f9f44c9d25de8d42a43e
4 months ago
Richard Fuchs
428999c376
MT#61977 turn output-storage= into list
Change-Id: I74bad7993ef213ca374abcb6310b9693a2af13f6
4 months ago
Richard Fuchs
1e0c91c372
MT#55283 move option to correct section
Change-Id: Ied55e0859f8c8dd3387d2b564ddde09d26b1afef
4 months ago
Richard Fuchs
2845bb1efa
MT#62571 streamline resampling
Move destination format information into the sink object.
Decode each codec directly to its matching output format and leave
resampling to the sinks.
Move managing of the adjusted multi-channel output format into the mix
context.
Make sure all inputs to a mix outputs use the same audio format.
Change-Id: Ib9f334443bfee26d59f2ede6e13ac80c66c1b57e
5 months ago
Richard Fuchs
ef3b1c2956
MT#62571 support mixed TLS/TCP output
Change-Id: I8f2b6372e9379d1845245f95bb69498661fbebf9
6 months ago
Richard Fuchs
f50c056199
MT#55283 fix double free
Change-Id: I7fdf3973b612e254b94beb3c12b1fb1490f823ef
6 months ago
Richard Fuchs
d0a3bae13e
MT#62544 support in-memory recording
Change-Id: I17348db1d6dd53fa582aa5198877c0bb717b7049
7 months ago
Richard Fuchs
02253c6f05
MT#62544 add output-buffer option
Change-Id: Id823046b52ed7ebc8d19cc1d2d7b28eff0e0b6e0
7 months ago
Richard Fuchs
0f654468a6
MT#62544 support notification command
Change-Id: Ibc70ed9ad8d5e9a605e50094dfe55e2545a5a339
7 months ago
Richard Fuchs
4d8156bf91
MT#55283 remove remnants of g_slice
The GLib slice allocator has been obsoleted. Having a mixture of two
allocators can lead to hidden issues on systems that use different
implementations. Take the leap and replace everything with g_new/g_free.
Change-Id: I025c8383ef47b2c2472573360407fd6a6ca339b3
8 months ago
Richard Fuchs
5f418146c4
MT#55283 convert endpoint_parse_any_getaddrinfo_full to bool
Change-Id: I74dbdcb6798203306652078997b74bdaacfb8526
10 months ago
Richard Fuchs
84568b3905
MT#61822 use ARG_FILENAME where appropriate
Change-Id: I2aa74dcd7daec716e27c94f493c60d573717d4b2
11 months ago
Joey Golan
0dc615e3ce
MT#55283 Add `flush_packets` flag
... to control output buffer flushing behavior
This commit introduces a new configuration flag `flush_packets`,
allowing control over whether the output buffer is flushed after each
packet during recording. When enabled, the file will grow continuously,
reducing latency and ensuring immediate availability for processing.
Closes #1848
Change-Id: I842bd1b2d6e6cf321cfda4cc3520bab47dafcaf4
1 year ago
Richard Fuchs
57c490f817
MT#55283 Add output-mixed-per-media
closes #1808
Change-Id: I70098382060b7522e7efd2fc8703ce526a61d461
2 years ago
Richard Fuchs
d5831d936e
MT#55283 Add option to use pure TCP socket
closes #1777
Change-Id: Ibdb6ff59068682e3e1f0fd8144e22b489328ef49
2 years ago
Richard Fuchs
8853c53b76
MT#59069 seperate out random recording tag
Change-Id: I059ca35e3ddf109c599e41a34629598a18a6b15e
2 years ago
Richard Fuchs
5a2819bd9d
MT#55283 use g_auto for string buffers
Change-Id: I135f75355a128feb8f3152c170ca4f9022d917a8
2 years ago
Richard Fuchs
91a8f4be04
MT#55283 use correct ARG_NONE type
Turns out `bool` and `gboolean` are not safely interchangeable as
they're different sizes. Doh.
Change-Id: I3cfda6584ce3f6cb142fef4a9ee9743ee4eebbe0
2 years ago
Richard Fuchs
4f6f5fdf4e
MT#55283 update config settings to bool type
... for _ARG_NONE settings
Change-Id: I3ccad3eb997d2215ee87cebd1fd8a37cf4563441
2 years ago
Sewan R&D
6fd79f5206
feat: notify-purge removes a file if notify success
Closes #1675
Change-Id: I5edd20efabcf94a19932a7066e80d77e6d99f0d2
3 years ago
Richard Fuchs
aa0ccae1d7
MT#55283 fix compilation for older libcurl
Debian stretch has an old libcurl which doesn't support MIMEPOST.
Disable the entire feature if libcurl is too old.
Change-Id: Id1d2a4d821671142523af355188f21ff06ad20f1
3 years ago
Serdar GÜÇLÜER
a75d55444b
MT#55283 Support attaching recorded file
closes #1611
Change-Id: Id03400fb79339f4b0ed1eddfd6dce56295e57cef
3 years ago
Richard Fuchs
ff47e874ea
MT#56493 add support for HTTP notifications
Change-Id: I3ac04968279a5b750f1f7f4d4d06207e05e7d8a8
3 years ago
Denial
d751bcade6
add mix_num_inputs variable to config file
3 years ago
Denial
7480ae8198
add mix_num_inputs variable to config file
closes #1581
closes 1557
Change-Id: Ic8ac6b956e83a4d64695e0ded6e70b8ffe67b36f
3 years ago
Richard Fuchs
a5d2837615
TT#118800 add support for `channels` mix mode
Change-Id: I00a51c4278ccc8a34c8db271eb08e0a8f48fd28a
5 years ago
Richard Fuchs
8aecb6a98a
TT#111357 also apply chown to created parent dirs
Change-Id: I6300e49816f83561f3eafffc893cfb1efc334b6f
5 years ago
Richard Fuchs
b8b395e21f
TT#111357 add chmod setting for created output dirs
Change-Id: I233b83febd087f202e047194ad3ad97c6651ea3b
5 years ago
Richard Fuchs
c8d6a45777
TT#111357 add support for configurable output file name patterns
Change-Id: I8662a2ee93700329ee2641c536be9ea8306f6b89
5 years ago
Richard Fuchs
23dbe78548
TT#14008 fix possible use-after-free on shutdown
Reorder the shutdown cleanup calls so that option strings are freed
last, as they may be used by other components during shutdown cleanup
Change-Id: I297f6d0c3dbbb22c4d34d7866844824c8d97e940
5 years ago
Richard Fuchs
9d332f9b0f
TT#111357 use a better default for recording threads
Change-Id: Id9f3d0404505e87bf785e52680c5a771d6d58828
5 years ago
Richard Fuchs
79bb147af7
TT#109618 add option to chmod/chown created recordings
Change-Id: Ied981b36bc30f6ac24f0c0d6027c008f25029945
5 years ago
Richard Fuchs
ade5c47b02
TT#98901 wire up codeclib debug output
Change-Id: I5daf59fe8218c2ff25d4baac79ba802f101d6279
5 years ago
Richard Fuchs
b260e145e7
TT#97500 set thread stack size
closes #1078
Change-Id: Iebe5effb917731c8ca553c9e599df613e763b255
5 years ago
Stefan Mititelu
eb8169868d
Fix a few more "still reachable". End all redis unused threads.
6 years ago
Stefan Mititelu
de28a65934
Solve Vlagrind "definitely lost" memory leaks
6 years ago
Richard Fuchs
10bd041c99
refuse startup when spool-dir and output-dir are the same
reported in #808
Change-Id: I00e26d09d7557221dfdaf105559fb7eaa5ab3e50
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
88c81bef22
fix incorrect VA format in die_errno()
Change-Id: I94d035606cb58dc7a263791a1ca148044cc45947
7 years ago
Guillem Jover
5ba52952c0
TT#42906 Add systemd notify support
Change-Id: Iba046fa3e36654cedb73203eb06a9d768720a6b0
7 years ago
Richard Fuchs
53a2165871
fix default value if output-storage isn't specified
Change-Id: Id74d9aa608aa963b995f199b2943efd926b97635
8 years ago
Richard Fuchs
af963a23fd
make the new `stream` db field optional based on settings
Change-Id: I470ffa4c1bfcca5531786464c6e99850ac10f900
8 years ago
Juha Heinanen
7f603b262e
recording-daemon: added possibility to store audio streams to database
- added new column 'stream mediumblob' to 'recording_streams' table for
audio streams
- added new option 'output-storage' with values 'file' (= default),
'db' or 'both'
8 years ago
Richard Fuchs
126a69f29c
TT#28163 logging and documentation improvements
Change-Id: Ib82b80c9ddcf557cd5ab6f99e693a5234471b1ac
8 years ago
Richard Fuchs
dc80c27af7
TT#28163 split encoder from recording daemon into shared lib
Change-Id: I76a744b1b1acd32f326d26db7a44273394a4dee1
8 years ago