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
2057d0a367
TT#14008 rate limit log line about missing output context
...
closes #1259
Change-Id: I0777647a8f6974fca845b4c35591bc7539f4891b
5 years ago
Clarence
320459873f
Fix redis connect failed when there are "@" in redis password.
5 years ago
Guillem Jover
27b2c2cd7c
TT#111150 Fix unaligned access for AES GCM IV initialization
...
Use a packed union to access the IV parts, which otherwise force unaligned
accesses.
Warned-by: gcc ASAN
Change-Id: I25661f1b1a00e9cd7d1e24bbcc10ed103ccef323
5 years ago
Guillem Jover
07695d2abb
TT#111150 Use modern <stdint.h> uint<bits>_t types
...
The u_int<bits>_t are BSD legacy types, while the new ones are specified
by C99 and SUSv3.
Change-Id: Ia748cabc33a7e5adc2c7a6049ad1e55be0c788a8
5 years ago
Richard Fuchs
6527fb513c
TT#111150 fix an SSRC reference leak
...
get_ssrc_ctx() returns a new reference to the SSRC object, therefore we
must release the referece when we're done with it.
Change-Id: I0db07e4cca49a37af68d072ac6d0630c025b8809
5 years ago
Richard Fuchs
292ba2e72b
TT#111150 convert refcounting functions to macros
...
Convert ssrc_ctx_put() and ssrc_ctx_hold() to macros to aide in
debugging reference leaks. Having them as inline functions hides the
actual location of the refcount changes.
Obsolete ssrc_ctx_get() as returning values from macros is awkward and
it was only used in two locations.
Also fix a function invocation mishap: obj_get_o() should be used
instead of __obj_get() as the latter is an internal macro.
Change-Id: Icc0d63f04b3816632fd120c1c749cafabbbfa331
5 years ago
Richard Fuchs
e70d203802
TT#108551 fix AEAD kernel encryption of small packets
...
closes #1230
Change-Id: I26cae7b53eed1ff8155d2fa1e1aa5283a9c37d36
5 years ago
Richard Fuchs
d5d0a3a994
TT#111150 convert str.len to size_t
...
This makes the type in line with string(3) functions and eliminates some
compiler warnings.
Also update the related bencode data type.
Change-Id: I7ef4024f4b5a0f737b3dbe03bcd078032395bce6
5 years ago
Richard Fuchs
dbf79cb762
TT#14008 allow re-invites for calls when load limit is hit
...
closes #1241
Change-Id: I698f57d1bc9fe77d8c95530beefbdb112165adfc
5 years ago
Richard Fuchs
87e5efc7d4
TT#111150 fix mem leaks in test-transcode
...
Change-Id: I3a796184e64b1fc1f760b53fe7d1855997ab8b72
5 years ago
Richard Fuchs
80099bd57c
TT#111150 fix mem leak in codec tracker
...
Change-Id: Ie1a617c7ab82147dfce7973d927843f55906a1a5
5 years ago
Richard Fuchs
aca786b3bf
TT#99621 fix RTCP generation after it has been stopped once
...
Change-Id: I1b4c890cfb3530360da3fa2205356aab95b973fc
5 years ago
Richard Fuchs
a2af257216
TT#98901 fix DTX TS reset detection
...
Change-Id: Ide2d7b2f9fccdd6475969ef5588acbc312ab588a
5 years ago
Richard Fuchs
a8d5076065
TT#119502 correctly restore calls from both Redis instances
...
Change-Id: I713d7e8ba0a7d14f5ef9016d33619df91ce6ec32
5 years ago
Richard Fuchs
ec42f83353
TT#14008 allow usage with just HTTP/WS
...
closes #1246
Change-Id: I5fc5ebd462589f0f585b8afce4908a6ac4a94bbb
5 years ago
Richard Fuchs
a2e05bdc5c
TT#120402 always update output SSRC mapping
...
The SSRC mapping strategy can change if a re-invite disengages
transcoding, therefore we always need to update the output SSRC mapping
even if the SSRC entry has already existed, to avoid stray SSRC changes.
Change-Id: Ib6f14ede1a4e615ff5eb8372cc68bf1acdd4b6c8
(cherry picked from commit dd7acd2644 )
5 years ago
Richard Fuchs
6cc1e99ee8
TT#14008 fix possible segfault when out of ports
...
closes #1243
Change-Id: Ib04c289ad78624139c0375423a7bc1ad402874e7
5 years ago
Richard Fuchs
05ef61c0d7
TT#108003 fix errors reported by coverity
...
Change-Id: I6641da426f1e05f0d0e3924887baf7fb948fb0c9
5 years ago
Richard Fuchs
aabcfaff17
TT#119502 quiet logging for foreign calls
...
Change-Id: I5ae02e47b839f23ccc3d2a7ca48d43ada6ae3d41
5 years ago
Richard Fuchs
89666c8021
TT#14008 fix ICE if ICE completes before SDP comes in
...
Change-Id: I3085e67a81fb8adeeb4334db2e0e894716107937
5 years ago
Richard Fuchs
a86d98f8d1
TT#118902 add support for per-call debugging
...
Change-Id: I9b0eab21ff4e5c241ff045049ccd37f6044d5707
5 years ago
Richard Fuchs
44809a30c8
TT#111150 refactor xmlrpc_helper to avoid GStringChunk
...
Change-Id: If3cb8b5c1fcaed0cb9b1b22d752ec5e9099d2d39
5 years ago
Richard Fuchs
2f84553913
TT#111150 refactor cookie cache to avoid GStringChunk
...
Change-Id: I0f53ec6bcb2ecd79cfbd857acf2617c1348205f6
5 years ago
Richard Fuchs
ade8100d3b
TT#111150 fix unaligned memory access
...
Make sure the pointers we return from our continuous memory buffer is
always 64-bit aligned as it's used not only for strings, but also for
structs/objects, and such unaligned memory access is undefined on some
archs and flagged as such by ASAN.
Change-Id: I84cf74e4e9d203fe02507aa1190ccc6554fb36e2
5 years ago
Richard Fuchs
d44abe24f6
TT#111150 fix possible unaligned memory access
...
Avoid accessing memory via pointers that may not be aligned, which is
undefined behaviour on some archs. Use memcpy for this purpose instead.
Change-Id: Iec6c8d15fdd7ef00896e494b69412847b637b01b
5 years ago
Richard Fuchs
ef5a954e4c
TT#111150 fix possible unaligned memory access
...
Check if the uint64_t pointer is aligned before using it. If unaligned,
go byte by byte. Unaligned pointer access is undefined on some archs and
flagged as such by ASAN.
Change-Id: I3afc80a2ddbc874a62d6930971493f8d461aa452
5 years ago
Richard Fuchs
49bfad1f5f
TT#111150 fix possible null pointer dereference
...
Change-Id: I52d8df03fda2e39d353a9c05e264a1ecd13df2ca
5 years ago
Richard Fuchs
5802ff2379
TT#54762 add option to enable automatic active/active switchover
...
Change-Id: Icddeb28cab72974d9dad0a241775a0763a56b027
5 years ago
Richard Fuchs
3ada2ec0c1
TT#98901 handle DTX restarts and TS resets
...
Change-Id: I6eaa14fdaf52e9011125bf8021db8a1816a148c0
5 years ago
Richard Fuchs
bfcd2b248d
TT#14008 remove obsolete option from pod file
...
Change-Id: I01678d23e985d5a3041dbf290646075ab07c2e35
5 years ago
Richard Fuchs
e67e395a69
TT#14008 fix typo in pod file
...
Change-Id: I3040a9631c1bfd2f0c30dffca4c1a7820afd9816
5 years ago
Richard Fuchs
ac71e81e54
TT#118350 add SDES=static option
...
Change-Id: Id34d4fe31e58acfae31d8e5d30abec1837c4f808
5 years ago
Richard Fuchs
bf40d2a841
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: I9e45a35e98ff55a0bd6c7d8a438f3e87d08b9773
5 years ago
Richard Fuchs
7dc55e6378
TT#98901 convert from static DTX delay to dynamic buffer queue
...
Change-Id: Ib6bfdfb9d1967263dc8acb48a812d7e75f9c239b
5 years ago
Richard Fuchs
42dd21d1ec
TT#14008 compensate for negative clock drifts
...
Change-Id: I9c55646565f4b72ddc87cb7ef2b00204590cb15e
5 years ago
Richard Fuchs
a6c7e9403a
TT#14008 fix output of negative fractional numbers
...
Change-Id: I70e6589ac5a61103165127fd3fd5d768641ccfab
5 years ago
Richard Fuchs
f547549f98
Merge branch 'rtt_rtcp_xr' of https://github.com/jchavanton/rtpengine
...
Change-Id: Ibac95448fc9a2091cb97db1cdf039836133117e7
5 years ago
Julien Chavanton
0483df374f
fix rtt from rtcp_rx
5 years ago
Julien Chavanton
49786d049f
adding cumulative number of packets lost
5 years ago
Stefan Mititelu
482e2d0d2b
Add stats for ipv4/ipv6/mixed media calls
...
Also Send stats for ipv4/ipv6/mixed media calls to graphite
5 years ago
Julien Chavanton
3d5e586c69
mos average fix when missing RTT
5 years ago
Julien Chavanton
4d56c6675a
mos calculation adjustment for
...
negative r-factor
5 years ago
Richard Fuchs
2dfe0b348f
Merge branch 'invalid_max_mos' of https://github.com/jchavanton/rtpengine
...
Change-Id: Id92bd31a35bf0972f9dd4d94f12a35ad424887a8
5 years ago
Julien Chavanton
bcf70cf6d5
max-mos: is often invalid when RTCP was not
...
received on both legs since we are using RTT mos-cq (conversational
quality), we should not compute it when we have only the RTT from one
leg.
5 years ago
Dup4
0e2a0b9861
fix: mos calc
5 years ago
Richard Fuchs
64de499865
TT#14008 shut down codec handler when resetting
...
closes #1203
Change-Id: I6d4239e9ef5158a53e5e92a139d26a5b622f8aca
5 years ago
Dennis Yurasov
bfe6d59693
SSRC change fix in kernelized stream
5 years ago
Guillem Jover
8508177777
TT#111150 Split CFLAGS between required and optional
...
Change-Id: I683aef49534a7bf70958f72661a83003cea21c3b
5 years ago