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
Huseyin Dikme
1d1558bcc1
added rtpengine-ctl set and list options for the delete-delay config parameter
5 years ago
Richard Fuchs
8bea6eb64d
TT#14008 fix possible segfault
...
Change-Id: I90cfb2549f4c7d630897aefc1c34aac6bac1e636
5 years ago
Richard Fuchs
6893a7c96d
TT#14008 skip object precreation on second pass
...
Change-Id: I61a4c1b95b575489d6257c6bb5e3e1833ae6c65b
5 years ago
Richard Fuchs
52d9768418
TT#14008 move build tests to a wrapper script
...
Since dh_auto_test doesn't execute the test suites through make
directly, but instead runs `make -s -n` and then executes the output,
the integrated build tests fail since the sub-make doesn't return an
error as it should when attempting to build with the wrong .h
alternative, resulting in always the first .h alternative being used.
Fix this by using a wrapper script instead.
Also adjust some other related minor build details.
closes #1202
Change-Id: I4b6436295c6b39117bd06df53aa5afc7118ad6a1
5 years ago
Richard Fuchs
5cf4717f89
TT#115400 explicitly disallow ptime in non-RTP SDPs
...
Change-Id: Ib1e324861b6a88e1a2f80e4f37a8afa654923a77
(cherry picked from commit e2bf4abee885ee0d8938b8be02df19ca4b4a28e7)
5 years ago
Richard Fuchs
1393dbfc9a
TT#14008 shut down DTX buffer when resetting codec handler
...
closes #1203
Change-Id: Ibc8cc89c8fe152a9dc3172d24d3c27b75463d9bd
5 years ago
Richard Fuchs
ff034ff307
TT#14008 use encoder's codec_def instead of parent handler's
...
closes #1203
Change-Id: I6e39d44aec1ae84595a6da30ab7ab365de4db9ad
5 years ago