Guillem Jover
cf4bf5dbf0
TT#49106 Clean up PHONY targets
...
Remove duplicated install target, add with-kernel.
Change-Id: I616f537ee4b28c3b0b71efe97ef778791a2abf64
7 years ago
Richard Fuchs
98de5697e6
TT#48650 use constant string hashing for string lookups
...
To avoid repeated strcmp()s and make use of switch()'s optimised binary
lookup, we employ a second build step that preprocesses certain .c files
and uses gperf to substitute pseudomacros with their respective constant
hash value.
Change-Id: Id89c4728a0fc7aa911691d4dd1ba8e7b3916a983
7 years ago
Richard Fuchs
01c5e5075d
TT#45472 use memmem() for str_str()
...
also fixes an off-by-one bug of the original str_str()
Change-Id: Ic781f963eea90e3d29ed856c8b00f150eedb139b
7 years ago
Richard Fuchs
60bd4a681e
clarify output of --codecs for codecs lacking RTP support
...
fixes #655
Change-Id: Ie51453487763809ff872fb4524cdfd27a56ff5e4
7 years ago
Richard Fuchs
c074319623
TT#46052 rate-limit certain log messages related to de/encoding
...
closes #625
Change-Id: Ia6e812322129db8be0d242a9ce8c37b730deeb11
7 years ago
Richard Fuchs
4e6f2dc5f7
silence build warnings when no git is present
...
Change-Id: I387f5db9d7174c63af716d082fb5397e685da19d
7 years ago
Guillem Jover
5ba52952c0
TT#42906 Add systemd notify support
...
Change-Id: Iba046fa3e36654cedb73203eb06a9d768720a6b0
7 years ago
Richard Fuchs
b4cac090f8
use git plumbing to determine branch and commit IDs
...
closes #596
Change-Id: I0c5294215a790e1b7d48f61e1e77964a63d42eb7
7 years ago
Richard Fuchs
a9ec666cb4
TT#38350 implement sending DTMF events to syslog
...
Change-Id: I82fbdc7da6cbe2505ef1c98dd3c45b63c4461994
7 years ago
Richard Fuchs
5c3d39748b
TT#35456 fix regression from 895fa9605
...
Adding a fixed length to the size of the buffer requested from the
packetizer was wrong, as this is not just the length of the working
buffer but also the size of the buffer to be returned for sample stream
(PCM) codecs. Instead, use the codec definition's bit per sample spec
to make AMR provide a larger buffer than the bare frame.
Change-Id: Ibff59b21d491e3327cc9e907e6515379a8ca9188
7 years ago
Richard Fuchs
0361bbd9b7
add missing include
...
closes #553
Change-Id: Ia605ebac697ab0d8cd28b4d758f27712345f2a81
7 years ago
Richard Fuchs
14ffd8feb0
TT#36303 support bandwidth usage resource limit
...
Also fixes logic for other resource limits
Change-Id: I263e097da5b5671826e0d92a28fb3a5c6f3ac193
7 years ago
Richard Fuchs
db2882ca78
integrate AES unit test into main build framework
...
Required addition of include/ directory for headers shared between
daemon and tests
Change-Id: Ib25504f4d7f4baa917efcdc0ef78b6cc89439827
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
7 years ago
Richard Fuchs
0072380d99
support double type values in config file
...
Change-Id: If6a722e0070246dbdae7cda7b488524f1e216d7d
7 years ago
Richard Fuchs
93555d76d0
eliminate another deprecation warning for newer ffmpeg
...
Change-Id: I6fd8384c16a3f9f26c15c902e012a8226f228ebf
7 years ago
Richard Fuchs
10d9acda3f
ffmpeg: handle some API changes for release/4.0 master
...
closes #534
Change-Id: I02ca8e2e3cbe6193705b34f6f2df09205b283022
7 years ago
Richard Fuchs
895fa96054
TT#35456 implement RFC 4867
...
Fixes AMR transcoding. Some features yet unsupported.
Fixes #498
Change-Id: I1075a539a7a7dab9106df9ef49b8bda2484b97ec
7 years ago
Richard Fuchs
33b262af78
TT#33700 migrate from avresample to swresample
...
closes #465
Change-Id: Ib23ea0dbaf151182360db8ae8e0bc94c93a1743a
7 years ago
Richard Fuchs
ce44eaf1d3
fix RTP timestamps in G.729 decoder
...
also fixes SRTP auth tag passed to transcoder
closes #501
Change-Id: I2253d1372784d0332b8449f8fb8087a2f7e4c699
7 years ago
Richard Fuchs
4ac6473be2
don't silence libav test build output
...
for #496
Change-Id: I815cd4da17c079533faf691d707d5d1e5b551172
7 years ago
Richard Fuchs
4d9d14016f
Merge branch 'master' of https://github.com/que273/rtpengine
...
Change-Id: Ifd3671331d763ce5559e676ac844818a26116bdc
7 years ago
Richard Fuchs
5a73f12adb
TT#34050 replace ffmpeg version test macro
...
fixes #484
Change-Id: Ia7aa9d63e09a90afc2814f0edede480c06ecc53a
7 years ago
Hugh Waite
565ed98bfb
Fix AMR-WB codec initialisation
7 years ago
Richard Fuchs
6b88fc9e3a
avoid segfault when an encoder could not be opened
...
closes #473
Change-Id: Ie800c3682be58ab93178bceb9e952f26cb0d0e25
7 years ago
Richard Fuchs
092f8da3c6
use str_token_sep for SDP token extraction
...
closes #472
Change-Id: I10dc4aa8baadfc4c3d5ef5514e47fecc4bf2f10e
7 years ago
Richard Fuchs
4d586f2ec0
TT#28163 fix recording-daemon sample format selection for mixed output
...
reported in #462
Change-Id: Iea7f1e421d15375768a1f76dd36e5ef7726f66b8
7 years ago
Richard Fuchs
7c36492021
TT#28163 fix recording-daemon sample format selection
...
fixes #462
Change-Id: I9ab8340a2552ed4e3c946b085b2f87cc0f90722c
7 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
7 years ago
Richard Fuchs
25037a92ac
TT#31197 G.729 packetizer
...
Change-Id: If5c87dc08e5ffa8c85e024c5d091f7fce7f84cec
7 years ago
Richard Fuchs
9eb9a2f421
TT#31197 include bcg729 build support
...
Change-Id: I3862c0b9b8010699e6a49f749b38568d08103840
7 years ago
Richard Fuchs
83784d492c
TT#31197 separate out libavcodec specifics
...
Change-Id: I4f389226320fd8a7930168a4fb885ba214759743
7 years ago
Richard Fuchs
61d5505740
TT#31199 set bitrate for G.723.1
...
Change-Id: Ia82411c9205d63b2d63e40ece480b1d42b53b152
7 years ago
Richard Fuchs
126a69f29c
TT#28163 logging and documentation improvements
...
Change-Id: Ib82b80c9ddcf557cd5ab6f99e693a5234471b1ac
7 years ago
Richard Fuchs
10c852b204
TT#31950 add compile-time switch to disable transcoding features
...
Change-Id: Ice0c019b8a07d4c941d14f47021dbb7b0eb68d3c
7 years ago
Richard Fuchs
caf7350d6b
TT#26752 enable GSM and iLBC codecs
...
Change-Id: I7eaea5b568d6a28bf20443656c20fe4807bdbdf2
7 years ago
Richard Fuchs
6988b2361e
TT#31403 keep track of stats required for RTCP translation/output
...
Change-Id: Ib7ff1643c90423ffec95b378b4e9fca0000ee4ae
7 years ago
Richard Fuchs
368312a4f5
TT#31403 keep local packet stats for RTCP output/rewriting
...
Change-Id: Ib086bbacf5613e1480bfb9050612163152e24b28
7 years ago
Richard Fuchs
7986ca0860
TT#30900 support specifying codec parameters for transcoding
...
Change-Id: Ifac093cfba74a7cfdf1ba22209d608e04fed8c10
7 years ago
Richard Fuchs
a4a0e34ded
TT#31408 distinguish between codec types
...
Change-Id: I8c7331908fe4a105d9f9139a5f9867b6ae43a646
7 years ago
Richard Fuchs
2e43b47305
TT#31409 check codec support only once during startup
...
Change-Id: I8eacd1f62cc1273707b4c4d1046918225e1b6957
7 years ago
Richard Fuchs
71b3762f13
TT#30901 use hash table to look up RFC specified codecs
...
Change-Id: I471dc77d0c4bdbdf66dc4b021d77202ec0ddbb39
7 years ago
Richard Fuchs
ff0a46a053
TT#30901 convert codec list to hash table
...
Change-Id: I0956b441101b4c33e0f186399ef5558f89744e12
7 years ago
Richard Fuchs
82e0c55aae
TT#31409 TT#31408 TT#30901 eliminate silly codec def macros
...
Change-Id: Iab6b735728319210d6c8e45ef14c2044cab44525
7 years ago
Richard Fuchs
266a1fbc8b
TT#31404 support custom ptime and repacketization for sampled codecs
...
Change-Id: I4db83cb8faa9b0234dd655f4bdc116a3ddb59f39
7 years ago
Richard Fuchs
c380052882
TT#31401 configure encoder bitrate
...
Change-Id: I96e14285b4e6235451ef55dfdfd0fec9f7364096
7 years ago
Richard Fuchs
5c05c88ac4
TT#31198 handle RTP seq and TS resets
...
Change-Id: I853059769e5277391c3ff5c0f13e164d4dc53d4c
7 years ago
Richard Fuchs
fcf593d401
TT#31400 add encoding support for AMR and AMR-WB
...
Change-Id: I89cc14c0956900d44c6e5e1cbea0f1de4112dab1
7 years ago
Richard Fuchs
1746f1d3bf
TT#31405 handle non-media pseudo-codecs (telephone-event)
...
Change-Id: I10a0156d500f49941d7d3d558e54e3c198638c4a
7 years ago
Richard Fuchs
ad4a5d10ef
TT#31198 add resampling support
...
Change-Id: Ib691e62d9ff6fc5663cea275663efc9134d78188
7 years ago
Richard Fuchs
7c6db89889
TT#28163 don't reset transcoding context when not necessary
...
Change-Id: I28b230df7308b3ed1fd359265220c3df07178e5a
7 years ago
Richard Fuchs
14c3cd8ab1
TT#28163 support transcoding to non-RFC codecs
...
Change-Id: Ia4edff27be74e0f8eb8f41cf0a7a1dd3c9e9896a
7 years ago
Richard Fuchs
b0bc679806
TT#28163 take number of channels from SDP into account
...
Change-Id: Icd393535702355d7dfc90c81fe62286eb50deb63
7 years ago
Richard Fuchs
dc80c27af7
TT#28163 split encoder from recording daemon into shared lib
...
Change-Id: I76a744b1b1acd32f326d26db7a44273394a4dee1
7 years ago
Richard Fuchs
a967f9dcbb
TT#28163 abstractize packet sequencer and move to lib
...
Change-Id: I7bfa0f6e223bfe21c0e155a159fc4d125117bc3b
7 years ago
Richard Fuchs
f8aad04948
TT#30404 move portions required for decoding from recording-daemon to lib
...
Change-Id: I4170dd3c93ca3c87954d2c1db5fd84ae071247bd
7 years ago
Richard Fuchs
d510f5efe8
TT#30404 initial support for adding codecs for transcoding
...
Change-Id: I58474ac2daee213d9f11157f61c2a3df90818fbe
7 years ago
Richard Fuchs
d31fb36f6e
TT#30403 parse and retain a=fmtp infos
...
Change-Id: I81b2afdfac7f65833fa5260add823fcf7680c879
7 years ago
Richard Fuchs
46d853972b
move lib/ config options into struct
...
Change-Id: I563b38cd64daea5f9137debff2fc7881a3cdaa9d
7 years ago
Richard Fuchs
1aa9944fe4
TT#27550 implement interface round-robin selection
...
Change-Id: Id5cf290cc9d044716b5f55cf416dc40b87f23f24
8 years ago
Richard Fuchs
61d828a48f
change str_chr_str() semantics
...
Change-Id: I0fb541215a1bb1a248693a6258e953827258b7ec
8 years ago
Richard Fuchs
5bcbf27fe1
fix metadata DB insert without trailing pipe character
...
fixes #374
Change-Id: Ibfe89b7804183ef04eba39d29e01b70160f7c264
8 years ago
Michael Prokop
6932f22c66
TT#22411 Fix spelling mistakes/typos
...
s/paramter/parameter/
s/fowarding/forwarding/
s/readabilty/readability/
s/recieving/receiving/
s/genrated/generated/
s/parametes/parameters/
s/existance/existence/
s/shouldnt/shouldn't/
s/seperate/separate/
s/neccessary/necessary/
s/occurence/occurrence/
s/timout/timeout/
s/ouput/output/
Change-Id: I4403eb54130f3c114d7881054abfdfc8223b5bf2
8 years ago
Richard Fuchs
e7d75bd275
TT#19350 add option to manage iptables rules directly
...
Change-Id: I8e2b47bf34206ed5cc369649bf8ef875ac271169
8 years ago
Richard Fuchs
dd338975f6
drop log level for messages about unknown RTP/RTCP packets
...
closes #395
Change-Id: I8a3c9c1d06ce04a4bb2280e16e2d170cd27ac65b
8 years ago
Richard Fuchs
c1711ea948
TT#12800 consolidate and combine RTCP parsing and logging
...
Change-Id: I8690b5d180b3eaf1c1b0b4295734609c5125a453
8 years ago
Richard Fuchs
531febbbb0
migrate log-stderr and log-facility options to lib for recording daemon
...
Change-Id: I3322eccf01c606f29024fc786b257c45d6b92b54
8 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
8 years ago
Richard Fuchs
6594b2b884
fixes for coverity
...
Change-Id: I92eebf9a44fed8d826e0c2a207c05cd02c5ade0c
8 years ago
Richard Fuchs
76ba5872fd
TT#13000 add init.d setuid/setgid capability
...
refuse startup when pid file cannot be written
Change-Id: I755dd6fef6cf468b1f96608ab8f804c4c5144ace
8 years ago
Richard Fuchs
d8cc8caf9c
combine two mallocs into one for redis restore
...
Change-Id: I6a5c26b6e0c856b1930273c37b35020dd48c6505
8 years ago
Richard Fuchs
f77726caa8
update redis one-key concept
...
Change-Id: Ifc164f5737decefef2463af57d75f717b97e169b
8 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
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
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
d7fa0689f9
TT#5566 rudimentary wav file output
...
Change-Id: Icdc97a9dc849bba6ba6add12d0bdd17f8b7712cd
9 years ago