Richard Fuchs
914f6dfa1a
MT#55283 use intrusive list
...
Change-Id: I53c561dcc781f5cbd367ccb0df7b6900241f5e24
9 months ago
Richard Fuchs
4f5d013640
MT#55283 introduce socket use counter
...
Change-Id: I2468f4faedd195c9ea52d6ee6c99eabf37b7e73e
9 months ago
Richard Fuchs
23aa836800
MT#55283 fix missing MQTT SSRC stats
...
Change-Id: I3464f56263f783b7d81d4bdddfe56cd1fafa9ac3
9 months ago
Richard Fuchs
1fdf5cf2ea
MT#55283 add TCP keepalives for Redis connections
...
Change-Id: Id16f7f0f547f45cbef95bc98ede67a30f01cf3b9
9 months ago
Richard Fuchs
750f0a88bb
MT#55283 improve timeout handling
...
Only look at the recv side of recvonly/sendonly stream pairs by default,
and only consider the silent-timeout for calls that have no receive
streams at all.
Change-Id: I7773a6cc35733b0d27c8268f648a98e59fce9813
9 months ago
Richard Fuchs
6b785e77a2
MT#55283 make arg non null
...
Change-Id: Ia30ab70c0a520b6469146bdb60fcd112f56673b3
9 months ago
Richard Fuchs
a513a60d1d
MT#55283 add port usage test
...
Change-Id: I3ee432b05479baae01539e3584d41278ef67a5ed
9 months ago
Richard Fuchs
b0d2b82199
MT#55283 replace g_atomic with atomic_*
...
Change-Id: Ia0729df4449e8bd4a2028d0373089e0fc9e1e042
9 months ago
Richard Fuchs
ee65919c60
MT#55283 replace g_atomic with atomic_*
...
Change-Id: Ib792e9fbc051ca808f82426d2cb1f0c3243b01b5
9 months ago
Richard Fuchs
388f6342ed
MT#55283 fix opus fmtp booboo
...
Fixes #2017
Change-Id: I4931cce077dd54209f2342b962a144bce965db25
9 months ago
Richard Fuchs
37813ddf86
MT#63317 rework port opening mechanics
...
Instead of opening local sockets directly during call setup, just create
the appropriate objects first, and then open the actual sockets in a
second step.
Move the opening step down, after the bundle logic has run. This way we
can avoid opening sockets that aren't needed.
Removes an intermediate step of obtaining consecutive ports.
Change-Id: Ib94c871ed6b3a433872afd23cb1aebbd9910b33e
10 months ago
Richard Fuchs
78c2e1e157
MT#55283 update return type
...
Change-Id: I76f16c3a04b1276ca04d25ea4a09f6f115f31d4b
10 months ago
Richard Fuchs
0ea27e9193
MT#63317 split apart ICE startup
...
Gather candidates in one step, and create candidate pairings against
local sockets in a second step.
Change-Id: I85bba7fe95af14d7f77a14d5baad4ea072a83bd3
10 months ago
Richard Fuchs
2ba7bd1041
MT#63317 fix possible booboo
...
Change-Id: I98926165e834eba01ef702eda1467521dca2b713
10 months ago
Richard Fuchs
e121a1e289
MT#63317 eliminate sockets shut down test
...
If we clear the sockets from the endpoint map during monologue shutdown,
we can guarantee that no sockets present in an endpoint map are ever
closed.
Change-Id: I4e3b6f39d51145fbfaebbe0bc412d8f001bbb053
10 months ago
Richard Fuchs
5b199f473f
MT#63317 use endpoint map as test for disabled
...
Change-Id: I425e33030c22119d459e3f58a2b00a64126b9e69
10 months ago
Richard Fuchs
0ebc75d229
MT#63317 rework endpoint_map hunting
...
Store the current (last) used endpoint map in the media object. This can
then be directly used when port latching is requested.
Remove and close sockets from endpoint map if fewer ports are needed.
Change-Id: I58aab82f82ecc3b0a7fc7a781394c8d77e715ecf
10 months ago
Richard Fuchs
90678613b4
MT#63317 add port usage test
...
Change-Id: Ife1f8d54306155741984f2e5379a2b474fb5a25c
10 months ago
Guillem Jover
d3457c1cfc
MT#62763 Fix shellcheck issues
...
Warned-by: shellcheck
Change-Id: I42a0a4cc60007686b220940c0ddb7dbd0a13038f
10 months ago
Richard Fuchs
0600d731c1
MT#55283 fix test case
...
Change-Id: Ib3e53a1d7c283e74ed86b5f80d9ca24950d16620
10 months ago
Richard Fuchs
0be3d106b8
MT#55283 close sockets on unsubscribe
...
closes #2010
Change-Id: I988f495e99e6eca39029958be5e504999085f1b2
10 months ago
Richard Fuchs
99b5f1fa0f
MT#55283 disable IPv6 test
...
Doesn't work on IPv6-disabled hosts
Change-Id: I82a40fcad40220b52c039271ef6db8116d9e9308
10 months ago
Richard Fuchs
ec61501298
MT#63317 amend WebRTC flag with BUNDLE option
...
Change-Id: I01eaa8a9e23a72e98be70091706ef367285ae08d
10 months ago
Richard Fuchs
fbb61c2454
MT#63317 don't rekernelize when SSRC order changes
...
Change-Id: Iadecf3501d836d6f6e83f851a45fa8aa3afb2570
10 months ago
Richard Fuchs
ae603e7c3e
MT#63317 fix incorrect sorting of PTs
...
Change-Id: Ifd8264e8f39503feda8330d82888d0cc62418e92
10 months ago
Richard Fuchs
0eea0db4ef
MT#63317 amend and fix some logging
...
Change-Id: I7bacf207de52614e5ece4c8aa0243d5033b6cbfa
10 months ago
Richard Fuchs
ef552f32f6
MT#63317 test for I75ddb3f4b71
...
Change-Id: I07efc0fe1112205b33f0412da061c24aee5830f2
10 months ago
Richard Fuchs
ce951ab320
MT#63317 fix AEAD encryption with header extension
...
Change-Id: I75ddb3f4b711b31f21a240b04ac680a31894fa16
10 months ago
Richard Fuchs
dc5544ead1
MT#63317 fix incorrect bsearch syntax
...
Change-Id: I0ea7c3cff1fc43783391b4af1b003cd6ddf3b5e1
10 months ago
Richard Fuchs
26385f3056
MT#63317 fix missing filter length setting
...
Change-Id: I020c3fd1187569ca15f5fec16d97f171166ea24c
10 months ago
Richard Fuchs
fc291e8c58
MT#63317 DTLS bundle test
...
Change-Id: I755d366973167b32f5f1084fbbf99b0ec0e98ea6
10 months ago
Richard Fuchs
4dce0a696f
MT#63317 bundle docs
...
Change-Id: Iceea429ee0677cad64cc902d0b54f69f6362e0fc
10 months ago
Richard Fuchs
602316be41
MT#63317 test for Ic207652
...
Change-Id: I36ebd2efb400f50ebefd149bde31f6d769ea29c8
10 months ago
Richard Fuchs
9790ee9232
MT#63317 add strict bundle mode
...
Change-Id: Ic2076525b9e655cfb7d6fb665898018d29b87d5e
10 months ago
Richard Fuchs
2348888932
MT#63317 bundle + DTLS test
...
Change-Id: I5f45422a7bff52c6a075cf555fb839f6c6d8098d
10 months ago
Richard Fuchs
213855143e
MT#63317 don't run DTLS on bundled media
...
Change-Id: Ie515920dabc57d9812933670d5c878cba820fec5
10 months ago
Richard Fuchs
6ce23df003
MT#63317 delay start of DTLS
...
Change-Id: I600d7523aacd6cef87d736a85550550146940826
10 months ago
Richard Fuchs
51b9ddaeea
MT#63317 ice/bundle tests
...
Change-Id: Ibec51d9ee50073336dd03d675faa3c4bc4b738ff
10 months ago
Richard Fuchs
37cbac5fa7
MT#63317 share ICE context when bundling
...
Change-Id: Iee91f340b46241b30a9a0e6e5eefb268f380576f
10 months ago
Richard Fuchs
a3f5246bdb
MT#63317 separate ICE init from ICE start
...
Change-Id: Idf600bce7306b2e0f808b14c3b853fb93fd05d4a
10 months ago
Richard Fuchs
ca11a6cae6
MT#63317 add DTLS test
...
Change-Id: If38ab1addc5e6c544bde0db2135024ead37d9368
10 months ago
Richard Fuchs
0dc8a5dfa9
MT#63317 preload: translate anon addr for connect
...
Change-Id: I25e756a90138dbbf3eca2adfdd087aa85c851c8b
10 months ago
Richard Fuchs
798ec58e21
MT#63317 preload: allow port-anonymous binds
...
Change-Id: I944809e18158c6983775664f036908d5d84815c1
10 months ago
Richard Fuchs
cceb8e2f2b
MT#63317 fixes to DTLS test package
...
Change-Id: I6022b74eab013e44951a66ba0c87539d2bf69ca0
10 months ago
Richard Fuchs
8317cc7071
MT#55283 reorder ICE candidate check
...
Run the check against ICE candidates not just for DTLS packets, but for
all received packets, except STUN which have authentication and are
needed to learn new ICE candidates.
Change-Id: I25df8fa6db4f828a68ba3b9e5cd35d2b56c0df08
10 months ago
Richard Fuchs
847d004319
MT#55283 revamp kernel shm strategy
...
Change-Id: I16f8b60317fc21b20a5cff5b0ba5b6026981fc6b
10 months ago
Richard Fuchs
cf278b447e
MT#55283 delete from Redis when call goes standby
...
Ref #2007
Change-Id: Id634da90d4fdc9da082af5874a6d46d9d4b05f26
10 months ago
Tom Briden
0bb5f4e972
MT#55283 recording: only update metafile offset after successfully parsing the change
...
when under load it's possible that a metafile gets updated by rtpengine
while it's still being read by the recording daemon. this can result
in a WARNING being logged and the loop breaking. That section ends up
unprocessed and any changes in it don't get applied.
This change only updates the offset after a successful section read.
Therefore, if a section is incomplete and the loop breaks, the next
inotify event will retry that incomplete section and it should succeed
Closes #2008
Change-Id: Ie48b66e7578597f5b75f957e3b5cc793628282dd
10 months ago
Richard Fuchs
dcae1a2277
MT#55283 fix possible overflow
...
Change-Id: I6a5eb1b6bcb51cf5d955e79b6dc609e455fac075
Warned-by: Coverity
10 months ago
Richard Fuchs
2340b41ba2
MT#55283 check return values
...
Change-Id: If51c8fd9c544a5b6cb7413486df10223ba979afb
Warned-by: Coverity
10 months ago