Richard Fuchs
c33399ace6
fix test suites for different implementations of base64 encoding
further fix for fa90e4d
Change-Id: Ic8aa9e08f21fe79ba6d55fea87928e9ece228779
7 years ago
Richard Fuchs
fa90e4dc0e
fix test suites for 0c9bb7c
Change-Id: I689b24ab0deae6439b8359dbfa4020259d7e0572
7 years ago
Alexey Vasilyev
0c9bb7c440
Rename crypto suits according to RFC6188
7 years ago
Richard Fuchs
3cdfe5af1a
suppress loading of default config file for auto tests
Change-Id: I018de8dc31781756ef69738706531ad5f3dfb2af
7 years ago
Richard Fuchs
8d625cc03f
add auto test suites for #661
Change-Id: Icce0a216f190efad365e613e76290630540dd9b1
7 years ago
Richard Fuchs
0811c59120
fix bug with incorrect open3 redirection for test suite
Change-Id: I261ac7a6ce1bede73a1dbc2dad9b20720f05a5d3
7 years ago
Richard Fuchs
415af36ae6
don't add rtpmap or mid attributes for deleted/silenced streams
fixes #686
Change-Id: Ie9a155072a8b6acb8edcf59a5dd164f78a503616
7 years ago
Richard Fuchs
44c38c6c83
TT#49351 create preloaded library for system tests
Change-Id: Ibd87e7c03637a0772dcf3b0f2ed0d8646aa2add9
7 years ago
Richard Fuchs
744d6a46ff
add codec-set option
Codecs that were implicitly accepted for transcoding had no option to
set their parameters (such as bitrate) for encoding. The codec-set
option adds this.
fixes #681
Change-Id: Ib238eb73a507af168c366579abc80da07250fe88
7 years ago
Richard Fuchs
ee01f15852
fix non-default encoder bitrate not being applied
Bitrates specified in codec-transcode-... options were applied to the
decoder created during the offer. The matching encoder only gets created
during the answer phase, at which point the specified bitrate must be
copied from the decoder.
fixes #681
Change-Id: Idc6a16a4493908d78bb0b48ae590aba046152af0
7 years ago
Richard Fuchs
84f152bc62
TT#49600 add test suites for SDES crypto negotiations
Change-Id: Ia615394c9c87c797a0ee58ccc67074f9caba4093
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
5e558e9016
fix test suite compilation after 590b752b
Change-Id: Ibcba457a1e31c1523b417a9492e581e0b5cedbbb
7 years ago
Richard Fuchs
04a83027a0
TT#43557 implement media blocking
Change-Id: I336cf7203c1236b3e596310690a89ce1c3fd8bf4
7 years ago
Richard Fuchs
e67b9c40da
TT#43556 support blocking of DTMF event packets
Change-Id: I7ef43ddb254b1583c2dc69b44a13b978eff15510
7 years ago
Richard Fuchs
08fc00906d
fix segfault with DTMF logging and implicit payload types
fixes #571
Change-Id: Id2b575ff555d7968006309bcb5b5d6bbac2ed1e7
8 years ago
Richard Fuchs
a9ec666cb4
TT#38350 implement sending DTMF events to syslog
Change-Id: I82fbdc7da6cbe2505ef1c98dd3c45b63c4461994
8 years ago
Richard Fuchs
dd34574669
TT#38350 keep track of the most used RTP payload type
Instead of just remembering the last seen RTP payload type, this adds a
tracker that keeps track of the last 32 seen payload types and keep the
list in order of how often each type was seen.
Change-Id: I062a43b7bfc9413b755dca548d72953ff8245477
8 years ago
Richard Fuchs
bfac341aec
shut down transcoding engine when it's not needed
closes #562
Change-Id: I3c96cdcdeea8ee815f0ae7e40a4caccbfee9977e
8 years ago
Richard Fuchs
8562bdee70
support new `asymmetric codecs` flag
Change-Id: I244b3576be19658ecc2af353e427e95aea4fca70
8 years ago
Richard Fuchs
f1b81b649e
simplify parameters passed to codec_rtp_payload_types()
Change-Id: I8a9147bb527b3084ed9f4acfa82868fc26b0d8c2
8 years ago
Richard Fuchs
a2ed8e613a
convert transcoding unit test macros to functions
Change-Id: I409003397c7b510f79169e6069829b4bb949d12e
8 years ago
Richard Fuchs
f0b4f1d9a9
TT#37157 make payload mismatches in lossy codecs non-fatal
required to accomodate different versions of encoders
Change-Id: I47c574f1a8761b0ba042532145548e87d4398b75
8 years ago
Richard Fuchs
9b447cf18a
TT#37157 add G722 transcoding test incl RTP TS testing
Change-Id: I33f244eeccfbf9a9358608a73743585fd235686b
8 years ago
Richard Fuchs
6e9776876c
TT#37157 add RTP TS and seq checking to transcoding tests
Change-Id: Ib9e17aa6b0b3b3ec945d0abe54cdefca5e7ea989
8 years ago
Richard Fuchs
88778d981e
TT#37157 eliminate stray compiler warning in test code
Change-Id: I554308499edb326bae56841629827ed85152efe4
8 years ago
Richard Fuchs
6f6bad1d74
TT#37157 swap parameter order for packet_seq() test macro
Change-Id: I61f257efad7afc9634c73a32c3167b2ef8aca608
8 years ago
Richard Fuchs
95a7cc6cfb
eliminate redundant function argument
Change-Id: I5bff4436072c2855590e08d90c5098af3abceb93
8 years ago
Richard Fuchs
d64c888a0e
TT#36301 transcoding unit tests
Change-Id: If48e5afe5a343b557183b6e87441f52424dd2c6a
8 years ago
Richard Fuchs
1e96c9e522
fix compiler warning introduced in 677fe29d
Change-Id: I523bdf389cf8107f6f5c279c26a643c95ae54c49
8 years ago
Richard Fuchs
677fe29dfb
remove the AMR decode test
the AMR (narrowband) decode test is unreliable as different AMR lib
versions give different results and the AVCODEC version test macros
aren't sufficient to differentiate between them
closes #549
Change-Id: I2eceb0a14b968be9cf7c62303a83fc958235e2dc
8 years ago
Richard Fuchs
9e43369b84
disable AMR narrowband decode test for older ffmpeg
closes #541
Change-Id: Idcdd6c16fdcfa85fd02301b2045e3685e172e82d
8 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
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
06f76e6de4
don't run AMR tests when transcoding is disabled
fixes #540
Change-Id: I6b0d970ec9d7b8603ee401d8fd41176ee0ffeae4
8 years ago
Richard Fuchs
895fa96054
TT#35456 implement RFC 4867
Fixes AMR transcoding. Some features yet unsupported.
Fixes #498
Change-Id: I1075a539a7a7dab9106df9ef49b8bda2484b97ec
8 years ago
Richard Fuchs
b2a775f2f0
transcoding test suite improvements
Change-Id: Id7c522afe3d5060d0eb79126763454ecd25fc411
8 years ago
Richard Fuchs
9eb9a2f421
TT#31197 include bcg729 build support
Change-Id: I3862c0b9b8010699e6a49f749b38568d08103840
8 years ago
Richard Fuchs
df537b98c3
TT#28163 pass encoded packets back to processing for sending out
Change-Id: Icdd49d174336277dae0c2c79854fc4e3b42a5c44
8 years ago
Richard Fuchs
cee94a5348
TT#28163 pass RTP packets to media decoder
Change-Id: Ie1cf4ed50a0dae0ee4bbe37918d3d2a86666d998
8 years ago
Richard Fuchs
1aa9944fe4
TT#27550 implement interface round-robin selection
Change-Id: Id5cf290cc9d044716b5f55cf416dc40b87f23f24
8 years ago
Richard Fuchs
ab0dba7d14
TT#12800 support custom monologue labels
Change-Id: I55b2db88307088c4d5e0161eae6e3aa0b5d1b053
9 years ago
Richard Fuchs
4ad693a063
TT#12800 report MOS stats back to proxy via NG protocol
Change-Id: Ib0cc5b39a5f50d68a8013b738ac7d87b32069928
9 years ago
Richard Fuchs
0b63050c46
TT#12800 add test script to simulate RTP packet loss
Change-Id: I931d2b0ee16167bf48900aee806d99a12e4c601e
9 years ago
Richard Fuchs
74be799c4c
TT#12800 add RTCP support to perl test scripts
Change-Id: I9407b7b71817085b4c2c70bebcfe4681c8540696
9 years ago
Richard Fuchs
f83f674c4c
fix perl namespaces - move into NGCP::
Change-Id: I5c21abf195b766bfda3d9d371b4d0577007c1f5e
10 years ago
Richard Fuchs
b6b0b901b3
move dedicated tests into t/
Change-Id: I0c51cbc63c2a1d34d89aca92084da7a8be53d8b7
10 years ago