Richard Fuchs
2becfd37d7
TT#14008 update tests after f2d7372f5a
...
Change-Id: Iaababe0f23df679799fcb54cdddc075ad8a53e7a
(cherry picked from commit 7aac69dfa8 )
5 years ago
Richard Fuchs
022190a05d
TT#121752 associate SSRC hash to monologue instead of entire call
...
This solves problems when the same SSRC is looped through the same call
multiple times in different mono/dialogues, with different parameters.
Change-Id: I1d033cb1f012574d82b5bcbfffe11eb5f983cfd8
(cherry picked from commit 256b9917ec )
5 years ago
Richard Fuchs
6b5edc1989
TT#14008 tests for GH #1289
...
Change-Id: I53fb839e320edabababe4271bc162c9057e55e71
(cherry picked from commit 7cb49bcc79 )
5 years ago
Richard Fuchs
152e85b6cb
TT#14008 fix transcoding logic
...
Transcoding should not be decided based on the name of the codec alone,
but primarily on the payload type. First the PT needs to be compared,
then the codec type must be confirmed.
closes #1289
Change-Id: I1a8bffc6d521443aba14d9b4cf1ad4d1e21f1226
(cherry picked from commit f2d7372f5a )
5 years ago
Richard Fuchs
902566075b
TT#14008 skip duplicate comparison of basic codec params
...
closes #1276
Change-Id: I82467a0f5ff502e1410bd1ed135b085a10eaca61
(cherry picked from commit 46a3f7a3ac )
5 years ago
Richard Fuchs
6dfdcc82a8
TT#14008 update for patched RH kernel
...
closes #1279
Change-Id: Id03ae55cc346d160023078397f80c61bab17f65b
(cherry picked from commit 523b3ed99f )
5 years ago
Richard Fuchs
b7facf4fcd
TT#14008 reset SRTP index on endpoint change
...
closes #1277
Change-Id: If951bc8abdfb1cec88abf5fc6e36d48aff575e98
(cherry picked from commit dd58a1a42d )
5 years ago
Nathanaël Semhoun
53991a06bb
Fix G729 packet duration
...
Without this correction, timestamp is not incremented in case of transcoding
(cherry picked from commit c76b0b7ef6 )
5 years ago
Richard Fuchs
dca017f9be
TT#14800 update last_packet during signalling events
...
closes #1283
Change-Id: I640ff269643eb6ecf9d6fd2a21601aeb39acac58
(cherry picked from commit 017dbbd330 )
5 years ago
Sipwise Jenkins Builder
451e11a6e1
Release new version 9.5.1.0+0~mr9.5.1.0
5 years ago
Richard Fuchs
25cb6ff857
TT#14008 handle deprecated g_memdup
...
GLib 2.68 deprecates g_memdup() in favour of g_memdup2() as the former
was using a guint second argument which could lead to integer overflows
(gsize should be used instead).
Change-Id: Iaa3e3b1ecaab00d1ac887c915397b15b7204dd11
5 years ago
Richard Fuchs
1b49b43135
TT#14008 release all references held by timerthread on shutdown
...
This makes sure all objects are cleaned up during shutdown even if the
respective timer hasn't run yet.
Change-Id: I197b930f1b6e407819cc5a8c4ebd92fcef21b2cd
5 years ago
Richard Fuchs
58b566cda6
TT#14008 call the free func only if set
...
This avoids possible segfault by calling 0x0
Change-Id: Ib45c19d8cf785887cc20f8a07cf30bea270c85e1
5 years ago
Richard Fuchs
50834df3ca
TT#14008 call statistics_free after codecs_cleanup
...
Some codec handlers hold references to objects held within the
statistics hash table, therefore we must free the statistics after all
codec handlers have been released.
Change-Id: I3832dbeeaaf21d4a82be2dc2c842718415fd46f7
5 years ago
Richard Fuchs
b110072ae4
TT#14008 deprecate av_init_packet
...
Recent ffmpeg versions have removed AVPacket from the public ABI,
therefore deprecating av_init_packet on statically allocated objects.
The replacement is av_packet_alloc()/av_packet_free().
Change-Id: I5f93fbd19e43413c3328e143cc9147fbdf12d910
5 years ago
Richard Fuchs
b734fc080e
TT#14008 fix integer handling (overflow/sign) issues
...
Warned-by: coverity
Change-Id: Ia473075046253b2ffcf65344f65469772e6df993
5 years ago
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