Guillem Jover
5ba52952c0
TT#42906 Add systemd notify support
...
Change-Id: Iba046fa3e36654cedb73203eb06a9d768720a6b0
7 years ago
Richard Fuchs
828e2eea2c
add missing lock for configuring mixed output decoder
...
should fix #593
Change-Id: Ibc63d72101eb4575bcab57b44e8a96cbc3bb5cb6
7 years ago
Richard Fuchs
78accdb639
fix segfault when both forwarding and output are enabled
...
fixes #556
Change-Id: I80179a55bb9bac5478ed70e445bd4e2b87dfaaa6
8 years ago
Richard Fuchs
4d2d788c43
TT#14008 fix compiler warning from libavformat
...
Change-Id: Ia22a0c66c511973e935d5a4e40a744d8f92eb19e
8 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
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
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
7b6af45c43
CentOS 6 compile fixes
...
closes #486
closes #487
Change-Id: I070726e4048cfaf62ccd797c09ba7e41e75eb180
8 years ago
Richard Fuchs
22431f5720
fix recording mix sample rate mismatch
...
if a mix output is present already, use the mix output as format (sample
rate) specifier. otherwise there can be a mismatch between A, B and mix
sample rates in case of transcoding
Change-Id: I60fd2c249129baa470c1e257d5c127ed84922020
8 years ago
Richard Fuchs
92e4c28fde
fix recording-daemon segfault for libavcodec versions < 57
...
fixes #462
Change-Id: I62776c1c3d83ccbdc94990fd1f9db43bcf0b0eff
8 years ago
Richard Fuchs
4d586f2ec0
TT#28163 fix recording-daemon sample format selection for mixed output
...
reported in #462
Change-Id: Iea7f1e421d15375768a1f76dd36e5ef7726f66b8
8 years ago
Richard Fuchs
7c36492021
TT#28163 fix recording-daemon sample format selection
...
fixes #462
Change-Id: I9ab8340a2552ed4e3c946b085b2f87cc0f90722c
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
83784d492c
TT#31197 separate out libavcodec specifics
...
Change-Id: I4f389226320fd8a7930168a4fb885ba214759743
8 years ago
Richard Fuchs
126a69f29c
TT#28163 logging and documentation improvements
...
Change-Id: Ib82b80c9ddcf557cd5ab6f99e693a5234471b1ac
8 years ago
Richard Fuchs
6988b2361e
TT#31403 keep track of stats required for RTCP translation/output
...
Change-Id: Ib7ff1643c90423ffec95b378b4e9fca0000ee4ae
8 years ago
Richard Fuchs
368312a4f5
TT#31403 keep local packet stats for RTCP output/rewriting
...
Change-Id: Ib086bbacf5613e1480bfb9050612163152e24b28
8 years ago
Richard Fuchs
a4a0e34ded
TT#31408 distinguish between codec types
...
Change-Id: I8c7331908fe4a105d9f9139a5f9867b6ae43a646
8 years ago
Richard Fuchs
2e43b47305
TT#31409 check codec support only once during startup
...
Change-Id: I8eacd1f62cc1273707b4c4d1046918225e1b6957
8 years ago
Richard Fuchs
ff0a46a053
TT#30901 convert codec list to hash table
...
Change-Id: I0956b441101b4c33e0f186399ef5558f89744e12
8 years ago
Richard Fuchs
266a1fbc8b
TT#31404 support custom ptime and repacketization for sampled codecs
...
Change-Id: I4db83cb8faa9b0234dd655f4bdc116a3ddb59f39
8 years ago
Richard Fuchs
1746f1d3bf
TT#31405 handle non-media pseudo-codecs (telephone-event)
...
Change-Id: I10a0156d500f49941d7d3d558e54e3c198638c4a
8 years ago
Richard Fuchs
ad4a5d10ef
TT#31198 add resampling support
...
Change-Id: Ib691e62d9ff6fc5663cea275663efc9134d78188
8 years ago
Richard Fuchs
dc80c27af7
TT#28163 split encoder from recording daemon into shared lib
...
Change-Id: I76a744b1b1acd32f326d26db7a44273394a4dee1
8 years ago
Richard Fuchs
a967f9dcbb
TT#28163 abstractize packet sequencer and move to lib
...
Change-Id: I7bfa0f6e223bfe21c0e155a159fc4d125117bc3b
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
Richard Fuchs
46d853972b
move lib/ config options into struct
...
Change-Id: I563b38cd64daea5f9137debff2fc7881a3cdaa9d
8 years ago
Richard Fuchs
ba4676809d
small fixes and improvements for packet forwarding feature #411
...
Change-Id: Ibf7aba46b38900d405824ab79005de65cd0be7d9
8 years ago
Richard Fuchs
fb6575eefb
Merge branch 'add-recording-forwarding' of https://github.com/1and1/rtpengine
8 years ago
Richard Fuchs
23eebfc4d7
Fix frame PTS when decoder returns multiple frames in a row
...
Fixes garbled audio for certain codes (e.g. G.729)
Also adds some additional debug output
Fixes #410
Change-Id: I1dbae2638f1e55bf80bb96549a75b9c4b82d08bf
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
5bcbf27fe1
fix metadata DB insert without trailing pipe character
...
fixes #374
Change-Id: Ibfe89b7804183ef04eba39d29e01b70160f7c264
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
6ec7c9e8cc
fix mem leaks
9 years ago
Richard Fuchs
0e60000001
use cloned frames to avoid race conditions
...
fixes #350
9 years ago
Richard Fuchs
5acf56dec4
additional debug log output
9 years ago
Richard Fuchs
4313cb2596
logging improvements
9 years ago
Richard Fuchs
531febbbb0
migrate log-stderr and log-facility options to lib for recording daemon
...
Change-Id: I3322eccf01c606f29024fc786b257c45d6b92b54
9 years ago
Victor Seva
f7aa5fa6b6
TT#14571 PEP8 for YouCompleteMe config
...
Change-Id: I8fdc9b3d3ceb2cfa7333cb8520228629f1c521f1
9 years ago
Guillem Jover
56b723ceec
TT#14400 Do not check for negative values on unsigned variables
...
The MySQL ID types are unsigned long long, so checking for <= does not
make sense.
Change-Id: I37358689a3a2283dc2c6bf3e40d6ccc0e7a8c609
9 years ago
Victor Seva
3c813acacc
support wheezy build reported at #343
...
(cherry picked from commit db7537b1f0499ca35bc58f61522e2eb3be91a7aa)
9 years ago
Richard Fuchs
27af349783
fix recording daemon logging levels
...
fixes a variable name collision and also converts AV_LOG constants to
their respective LOG_ values
closes #344
Change-Id: Ie577250fe1191619df9f8a4b38744c43d1ee8e4f
9 years ago
Richard Fuchs
af7b2d0508
refine version test for presence of av_frame_get_channels
...
Change-Id: I8591e2656694570b0241cc84e8de2de0132e4db9
9 years ago
Richard Fuchs
aef463f1bb
handle missing av_frame_get_channels from older versions
...
fixes #341
Change-Id: I881b63021c9aba0006bb35bd38b027fa3b0152f9
9 years ago
Richard Fuchs
6594b2b884
fixes for coverity
...
Change-Id: I92eebf9a44fed8d826e0c2a207c05cd02c5ade0c
9 years ago
Richard Fuchs
a8a4ed4f9d
disallow arbitrarily large silence gaps
...
Change-Id: I9c62fc99d237ccf998b5eedfa3f1a38c2430a323
9 years ago
Richard Fuchs
2afbfa55a8
fix resampling if frame doesn't have number of channels set
...
fixes #336
Change-Id: Ic84734e4296ff8c807a605c67074b8b285c92666
9 years ago
Richard Fuchs
dab9fdb20e
additional logging and segfault fix
...
Change-Id: I95309cfe90efd17d6592f78e39c3732fa0d6e75d
9 years ago
Richard Fuchs
46d1498801
TT#13277 logging improvements
...
Change-Id: I279f751795b5d913b44f00ba30146654691d4d22
9 years ago
Richard Fuchs
6f37badd50
TT#13277 additional DB fields for call metadata
...
Change-Id: Ic3eda24c072daec44eb555bd12a6a8f42ee415fa
9 years ago
Richard Fuchs
4566bd37cf
TT#13005 store recording metadata to database
...
Change-Id: Ic3974ebd9aadc0af35941b49e4a0e7fd6f536691
9 years ago
Richard Fuchs
846886c001
TT#13000 include recording filename suffix in db data
...
Change-Id: If8a90b95b8f05f3ebc9408b95c30c8246844373d
9 years ago
Richard Fuchs
db6a37ac1d
TT#13000 handle output avio context failure
...
Change-Id: If5e1f71cb878d404b813e6f48430880f9753a057
9 years ago
Richard Fuchs
9a5cba48f2
use more precise avcodec/avformat version test macros
...
fixes #331
Change-Id: I9205e91569f55bb09ad89e88e71884453492e03b
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
2b72fdec73
fix segfault when resampling fails
...
reported in #306
Change-Id: I08786671d71e5f2919c493a6d529e2ea66efe8aa
9 years ago
Richard Fuchs
3dcfe82231
Merge branch 'stricter_build_depends' of https://github.com/1and1/rtpengine
9 years ago
Frederic-Philippe Metz
a0c36c59ca
Stricter build dependencies
9 years ago
Richard Fuchs
537c60b1cb
fix segfault when avcctx could not be initialized
...
closes #304
Change-Id: I8b01e269f81352f305d2ae20d01c006649876cda
9 years ago
Richard Fuchs
42216b86f7
TT#5566 more output config options
...
Change-Id: I8d9d1ec1274bbd0ac2e5f86408f4b6c8a60537c2
9 years ago
Richard Fuchs
b0b2a86422
TT#5566 allow for up to 4 mix inputs and fix silence padding
...
Change-Id: I0491ecae169c56aad0b3f78ef6b267a221c0af00
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
5a54cc1772
TT#5566 support mixing all audio channels into one output
...
Change-Id: I0ffd8ba39fbda2c27e8bf7e6c36b965897f22c0c
9 years ago
Richard Fuchs
040d1bec10
TT#5566 loop over encoding and decoding as required by the specs
...
Change-Id: I575b0653e00e2bae15cb9bfda564ff7a9a2b7ffe
9 years ago
Richard Fuchs
df869fff0f
automate lib symlink creation in makefiles
...
Change-Id: I5bedecfbe6e7c61bd505c075c4b2cd444cc4cc41
9 years ago
Richard Fuchs
e0fb30e885
TT#5566 split ssrc_run() into smaller functions
...
Change-Id: I816cdea26e2c20734779117d923f08d987255711
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
a2afd79d68
TT#5566 support mp3 audio output
...
Change-Id: Ife4001f5a9fcf8951c7c2b93d47fa2dcf2750a7b
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
5c22c3c71a
add additional audio codecs
...
Change-Id: I4d9c62d16fbdb10c3c38fc5d7ec0e9dacf970702
9 years ago
Richard Fuchs
ea72733ac0
support daemonizing in recording daemon
...
Change-Id: I9c76d63efe72d6598087a97f8bf93e0958b81fad
9 years ago
Richard Fuchs
1de1706152
don't engage logging system if log level is too low
...
Change-Id: I3d54da1b587637119f3e4de92e50d029274204a7
9 years ago
Richard Fuchs
f958b2a197
split logging mechanism into separate common files
...
Change-Id: I92dd843db2d1b5719e7809ce7d151d08c53938f2
9 years ago
Richard Fuchs
147b8b8e51
TT#5566 force usage of libopus for opus decoding
...
support multichannel audio output
add avcodec log callback
Change-Id: Id649ba2c51b2914420b149aad791cf5c12445008
9 years ago
Richard Fuchs
3b68c26c3c
TT#5566 support different sample rates and fix g722 clock rate
...
Change-Id: Ic26e5ba7e723177ee93a32c4532de6f821ea9150
9 years ago
Richard Fuchs
30dcadab15
TT#5566 rudimentary support for multiple audio codecs
...
Change-Id: I7e473f5d17874641253b4b16c3470851743818e1
9 years ago
Richard Fuchs
7395f8bef1
TT#5566 recognize and ignore (for now) RTCP packets
...
Change-Id: Ife95c9506a652b5410380963dbc1cf98f4ace611
9 years ago
Richard Fuchs
cfbe534c1e
TT#5566 deal with lost RTP packets
...
Change-Id: Iec3b832f4a7f400ea63587455b04758cc8ea6197
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