Richard Fuchs
2e66655925
TT#14008 add tests for CN passthrough
Change-Id: Ia0c9f682f1a6f7e6a7d1a568595b6e1f5418dad6
5 years ago
Richard Fuchs
3a6a95f833
TT#14008 fix CN passthrough
Change-Id: I39c75c6089ca3e4c90ebfd7298a81493066a7784
5 years ago
Richard Fuchs
c7431aa846
TT#122401 disable sample filter for CN resampler
Change-Id: I42085cc7952d86f2da1efa2d29ea85321b001da4
5 years ago
Richard Fuchs
ddfce1fcdd
TT#111150 add unit test for resampler
Change-Id: Ib9b78f1200c0f4f5feae549f840059b9481d10b6
5 years ago
Richard Fuchs
9b296db449
TT#122401 fix timing issues with fluctuating ptime
Change-Id: I77877afcafaf81e357b86eefa62eb3e2279ca75e
5 years ago
Richard Fuchs
4cbd676b76
TT#122401 add DTX tests
Change-Id: I518d226c324123f94668dcec470e22b7a4f95f7e
5 years ago
Richard Fuchs
d4fbec39d1
TT#122401 return ptime from decoded packets for DTX
Change-Id: I382b842406fbee73ec752f6f4f0832736222ef52
5 years ago
Richard Fuchs
4f6af3746b
TT#122401 add early DTX logging context
Change-Id: I8ab96e3c0295cce793706226bcb7350816b7109e
5 years ago
Richard Fuchs
64670ffb61
TT#122401 add option to bypass AMR SID
Change-Id: I0504d452737573f388941dcca507e3adfd5744c6
5 years ago
Richard Fuchs
ec68dfeb31
TT#122401 add configurable CN method
Change-Id: I2aa9901b2a9dcf64563a84d77fa40d23b6c25525
5 years ago
Richard Fuchs
7e24a7e4c8
TT#122401 add CN DTX method
Change-Id: I03c977e10f9bdad284dbafb048b2a19d798957e5
5 years ago
Richard Fuchs
dc38a0e88e
TT#122401 support multiple DTX method per codec
Change-Id: I775d56e675255b3dca4227779d1146d8c8806f06
5 years ago
Richard Fuchs
11988524ab
TT#122401 add generic silence DTX generator
Change-Id: I673c1115b6678842d7d49febea3c4ecbb67f534a
5 years ago
Richard Fuchs
5d5098efde
TT#122401 keep track of decoder's output format
Change-Id: Ib55ba9787b07885cfc9544f93749710ce8cafc91
5 years ago
Richard Fuchs
da06ed217b
TT#122401 add ptime to DTX trigger
Change-Id: I96aabff398cbe296243d8bdf7499468c6da96352
5 years ago
Richard Fuchs
7c3982ea11
TT#122401 rename "lost packet" functions to DTX
Change-Id: Ie39ff68eb0be8bf77f1b6c213df837c08fc869b7
5 years ago
Richard Fuchs
b1409e58e1
TT#122401 correct ptime handling for negative values
Change-Id: I3ca96971ec20aa02deb80d2d9613bbaa33c3ae05
5 years ago
Richard Fuchs
830abd6717
TT#14008 add tests for media echo
Change-Id: Ic676f2a9ed84c245ecbb393de05869480f8edd18
5 years ago
Richard Fuchs
1755ccfef4
TT#14008 use temporary variable to avoid stray compiler warning
The glib macro for g_atomic_pointer_get() uses typeof() with an
intermediate variable, resulting in a stray compiler warning if the
argument uses `const` as the intermediate variable also ends up being
const. Use an extra non-const intermediate variable to work around this.
closes #1270
Change-Id: I3bf1404240d3b8571aaf40c38b524f578e0fdbd9
5 years ago
Richard Fuchs
586a8028eb
TT#111150 fix initialisers in test-transcode
This eliminates some compiler warnings
Change-Id: Id41742189d1a79e9d9b1bdf89a5269a9b3dcca7c
5 years ago
Richard Fuchs
0e2bddb6c8
TT#14008 add `pierce-NAT` flag
Change-Id: I1ec9b0ba152939cb6dc079e0047040da862945dc
5 years ago
Richard Fuchs
a009f76456
TT#14008 support media echo and blackhole
Change-Id: I9df4680188709867db2b61d97cc5f1e30c59e0d7
5 years ago
Richard Fuchs
cc9fb063eb
TT#14008 fix possible segfault
closes #1265
Change-Id: I7f02a9c2d7f7fbdf830018200fab99d9cf4f425c
5 years ago
Stefan Mititelu
156271ef9f
Avoid deadlock of notification thread
Fixes issue #1258 .
5 years ago
Richard Fuchs
1ec517c2f4
TT#14008 restore foreign calls from the appropriate DB
closes #1257
Change-Id: I299475a01470cc9d4910d9d304bdda9bbbee6e83
5 years ago
Richard Fuchs
30621846ab
TT#14008 keep track of selected Redis DB
This avoids unnecessary SELECT calls.
Change-Id: I916889cbd4490045fdbacd85138d631ed6f7bd88
5 years ago
Richard Fuchs
4c9b5434bf
TT#122401 actually shut down DTX when out of time
Change-Id: Idfb934e439fd4b3f2cbc37a93b3e45a1f5391917
5 years ago
Richard Fuchs
ab8b25cca8
TT#14008 conditionally disable spandsp build test
When building using with_transcoding=no we should not expect spandsp to
be available as it's not even being used.
closes #1267
Change-Id: I2c8e0407b4dd46cfdd5322cd377b664955ad7c74
5 years ago
Richard Fuchs
faee34f1a0
TT#14008 fix rand_hex_string usage
rand_hex_string() writes a terminated null byte, therefore the buffer
must be larger by one byte.
Change-Id: Ieca67754d67fd7e5f1c94b07ffc8d0de428f552a
5 years ago
Richard Fuchs
24079deb10
TT#14008 add explicit type to STR*INIT macros
This allows these macros to be used in regular assignments and not just
initialisers.
Change-Id: I66ed96192c16ef777959fd9e40302db2786b6545
5 years ago
Richard Fuchs
be30d2cc33
TT#111150 free cn_payload string if present
Change-Id: Ibff3f9484c988f194436479a137baeb583522931
5 years ago
Richard Fuchs
3778baee1b
TT#14008 use const char in str_init_dup
Change-Id: I57246916f472d4d2f61611c401e2324b97329bb6
5 years ago
Richard Fuchs
4d251d5001
TT#111150 disable -Wmissing-field-initializers for gperf
Code generated by gperf does not have complete initialisers for all
struct elements, producing a warning from gcc. Suppress this warning for
code from gperf.
Change-Id: Ie61eb42b293041e43c62df702123f725f6116a9c
5 years ago
Richard Fuchs
1205f22f48
TT#111150 reformat struct initialiser
Expanding the initialiser of the contained array eliminates a stray
warning from gcc (-Wmissing-field-initializers).
Change-Id: Icef260477d0ff7acc050375ce48cc6604ee325ff
5 years ago
Richard Fuchs
addaa6acbc
TT#111150 add missing include
auxlib.h uses uintXX_t types, which needs stdint.h
Change-Id: Ifad291074c501f2f0268f2eb48399b8bec70d272
5 years ago
Tinotenda Chingosho
575435db73
Squashed commit of the following:
commit fd25c8e281
Author: Tinotenda Chingosho <tinochingosho@googlemail.com>
Date: Tue May 11 12:03:55 2021 +0100
Address review comments
- update typo
- document new parameter
commit e4e106f423
Author: Tinotenda Chingosho <tinochingosho@googlemail.com>
Date: Mon May 10 16:18:57 2021 +0100
Support Configurable MTU
- default to 1200
- minmimum value 576
Change-Id: I6cbc03eb7f8198a211d70844c115d162d954dea8
5 years ago
Guillem Jover
d3390bae32
TT#111150 Enable -Wextra minus some of its warnings producing much noise
We should eventually try to reduce the amount of -Wno-* options, but for
now this is a net improvement.
Change-Id: I3bd03679acbc157c0d1b3c257a542e2eec0e5ee9
5 years ago
Guillem Jover
6fc793845b
TT#111150 Use {} instead of ; to mark an empty body
Change-Id: Ib87db24dbb0d89cb03052e7b8a2e8d8802246c33
Warned-by: gcc -Wempty-body
5 years ago
Guillem Jover
adbd071c14
TT#111150 Do not use old-style declarations
Change-Id: I08a702ebfbcc5d3ac1dca284abdaa3f6567b9272
Warned-by: gcc -Wold-style-declaration
5 years ago
Richard Fuchs
951f4d62fb
TT#111150 remove dead code
The internal-iovec bencode semantics are not used any more. Remove the
relevant code.
Change-Id: I22555bf74d935f48a793df441205a7f34b1b2d7f
5 years ago
Richard Fuchs
dcad209967
TT#111150 use intermediate variable for ftell()
This function returns -1 as error value, which would be lost if
immediately assigned to an unsigned type.
Change-Id: If9050b793519a529df671527c3a3e33ca2afc1bd
5 years ago
Richard Fuchs
2dee5807e8
TT#111150 remove useless comparisons
Don't check variables that cannot be negative whether they're negative.
Change-Id: Ib2e0f9832e5f91541edbcad5b70af4e7c21921e0
5 years ago
Richard Fuchs
b285665a20
TT#111150 use ssize_t for signed return type
These functions can return negative values to signal errors, therefore
use ssize_t as appropriate type.
Change-Id: I810b2d40e9d6df47269af54c59940d114bb5a672
5 years ago
Richard Fuchs
92e39597cb
TT#111150 fix wrong allocation size being used
Change-Id: I2941de908eb9694317afc9dee0526d8687b1c6e0
5 years ago
Richard Fuchs
2057d0a367
TT#14008 rate limit log line about missing output context
closes #1259
Change-Id: I0777647a8f6974fca845b4c35591bc7539f4891b
5 years ago
Richard Fuchs
983a703ba7
TT#111150 remove stray compiler warning
Some invocations of ssrc_ctx_put() are deliberately passed a memory
reference, which produces an undesired compiler warning. Use an
intermediate variable to suppress it.
Change-Id: I7a5000df4d66ffadd374475907460919763c95b0
5 years ago
Guillem Jover
c09b379f41
TT#111150 Add an alternative implementation for taint_func
When the compiler does not have support for the __error__ attribute,
fallback to use the GCC posion pragma, which works on both gcc and
clang. It ha the advantage of being more portable and working at the
preprocessor level, which means is not affected by symbol redirection
due to builtin conversion or stack-protector remapping, at the cost of
worse diagnostics.
Change-Id: I322396f8a0d1b993637e8aca27f27f6868ecba3c
Warned-by: clang-12
5 years ago
Guillem Jover
87e83467cd
TT#111150 Use volatile in cast
The function argument where the cast is applied is volatile void *,
use the same type on the cast.
Change-Id: I2e39c433962df4f31ff8cad4d7561d358e94928a
Warned-by: clang-12
5 years ago
Clarence
320459873f
Fix redis connect failed when there are "@" in redis password.
5 years ago
Richard Fuchs
df5f810651
TT#14008 fix base64 encoding issues with older glib in t/
closes #1251
Change-Id: Ic2f03f673160484e439e4e1d1b99122999af6060
5 years ago