Richard Fuchs
872049b1da
MT#55283 fix possible off-by-one
Change-Id: Iadf2e9be28bb3a33043e3cd811daacd17579be3f
5 months ago
Richard Fuchs
d14db53420
MT#55283 use proper atomic ops
Change-Id: I7075100d7a7d1644fa74456e282cf9a414bb5324
5 months ago
Richard Fuchs
2cda41718a
MT#55283 convert now_double to int64_t
Change-Id: I305415a7edc5593d82acf3be1ce6820627c050de
8 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
Peter Kelly
d4a8203b4b
MT#55283 Added decoder mix "slots" concept ...
... so that the desired wav channel can be controlled when producing a
mixed audio file
When a mixed wav file is created, the channels in the wav container are
currently allocated in the same order as each SSRC is received, meaning
it is impossible to know which channels have been allocated to the offer
or answer side of the call. Furthermore if there is a reinvite or media
file played, these are also allocated in the order that SSRC is received
- so an "answer" could end up sharing a channel with an "offer" with no
way of knowing this.
This patch allows you to specify how many channel slots should be
allocated within the mixer, and allows you to then specify which slot is
assigned to each media in the call (this will usually be 2 slots in
total, slot 1 for answer, slot 2 for offer or vice versa).
Ported from https://github.com/sipwise/rtpengine/pull/1852
Closes #1857
Closes #1852
Change-Id: I010208427cabc3a48d6ef7bd3a84e9a5bdcfd492
1 year ago
Richard Fuchs
57c490f817
MT#55283 Add output-mixed-per-media
closes #1808
Change-Id: I70098382060b7522e7efd2fc8703ce526a61d461
2 years ago
Richard Fuchs
b3c9278f84
MT#55283 fix double-free bug
fixes #1688
Change-Id: If1a73381bae0d4f475237b65f0978c33e088cfb6
2 years ago
Richard Fuchs
670f117bcb
MT#55283 honour edge-triggered epoll
We need to loop over the read(fd) as we're calling epoll using
edge-triggered semantics.
Reported in #1676
Change-Id: I8f36b76c1ab32cf5c97b3dff1acf4e3e081ea33e
3 years ago
Richard Fuchs
f861d984aa
MT#56493 track call/stream start times
Change-Id: I74d77d26ad40501b77502a382150ef7003f52f3a
3 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
78accdb639
fix segfault when both forwarding and output are enabled
fixes #556
Change-Id: I80179a55bb9bac5478ed70e445bd4e2b87dfaaa6
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
440a1f8a4e
delay proc stream/call file deletion until all references are cleared
fixes #384
Change-Id: I1c94027644a18a280077ba00d023c28070d2c9d7
8 years ago
Richard Fuchs
4313cb2596
logging improvements
9 years ago
Richard Fuchs
82be3340d8
TT#5566 align mixed audio's timecodes to each other
Change-Id: Ib9f82ba7f56da80a0171b108bccdb56e5334ce94
9 years ago
Richard Fuchs
3aa302f258
TT#5566 memory allocation fixes
Change-Id: I7b247c591d3f35b2b767fd9faec6d1b09f52b871
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
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