Richard Fuchs
0f55781a58
MT#61404 add daemon-tests-t38
...
Just add the make target. Don't run it as part of the test suite as it's
quite extensive. Update the script a bit as well.
Change-Id: I192e90413bd7ffde842571324c816e4271367b42
1 year ago
Richard Fuchs
0da49000ba
MT#61404 always update egress RTP index
...
Add a simple function that acts as an encryption callback to just update
the ext_seq (index) of the egress SSRC context. The kernel module
already does this, but the daemon only did it when SRTP was involved.
This now tracks egress packet indexes in all cases.
Change-Id: I9460744de55ead4b05aceb322fd8482442ff2b41
1 year ago
Richard Fuchs
43cc9cc06d
MT#55283 change shutdown order
...
Some components (the timer thread used by the codec handlers in
particular) may hold references to components owned by the codeclib (the
.so handles in particular). Move codeclib cleanup towards the end.
Change-Id: Ic581588c27b69c025576c14a69e999c9ca5d1597
1 year ago
Richard Fuchs
a19bed611c
MT#61404 remove unused RTP/non-RTP distinction
...
Change-Id: Ia43e1eb373c893df6693032a14eb631f16593094
1 year ago
Lucian Balaceanu
bba9625b25
MT#55283 fix calling redis_delete when call is not persisted to db
...
Fixes a corner case that happens when trying to delete a call created with
ng offer and no-redis-update flag and for which no ng answer was received.
In such cases, one would receive warning messages from Redis
"ERR DB index is out of range".
What happens is that on call creation redis_hosted_db defaults to -1. This
value is changed when writing to Redis, but the writing is not done for a
ng offer with no-redis-update.
Kudos go to Pawel Kuzak.
Closes #1910
Change-Id: Iad19ec8ac69b169e6352662697b17eb23e6970fb
1 year ago
Richard Fuchs
518c297be2
MT#55283 add recvfrom() to tests-preload.so
...
Support the recvfrom() function. This requires also returning to address
(not just the port) from the tester's rcv() function to be useful, which
in turn requires updating a bunch of tests.
Change-Id: I3c0bcab9b744f2c234662399199abc538876c4fa
1 year ago
Richard Fuchs
b2599aba54
MT#61625 add getsockname abstraction
...
Change-Id: Ib89e235c3b8ea5a1038d09dfd8a7895d5753401c
1 year ago
Richard Fuchs
69ac1b1c9d
MT#61625 allow send/recv without endpoint address
...
Change-Id: I61f301baec69788228325f79194755b828b3858d
1 year ago
Richard Fuchs
af789073a7
MT#61625 add socket_rcvtimeout helper
...
Change-Id: I17de1f5948e64712fb60bd96708c07ea87cfe010
1 year ago
Richard Fuchs
eeeb2d8641
MT#55283 move socket_port_link into stream_fd
...
This allows us to simplify some function signatures
Change-Id: I58f65735ba84ec7a536b1b170d1ef90e266308f5
1 year ago
Richard Fuchs
08e382540e
MT#55283 add link to port_pool in socket_port_link
...
Change-Id: I43400175271b089a368f731bd55acb05ccab7141
1 year ago
Richard Fuchs
5d87f74f1b
MT#61625 allocate rtp_payload_type in memory arena
...
Change-Id: I119fc027f805bd7452096fa75ca6e152527f41ea
1 year ago
Richard Fuchs
31c6d7d754
MT#61625 split out generate_mid()
...
Use a common function to generate media IDs.
Change-Id: I428205f67632134d2d598456f1d5b2eca67e8be5
1 year ago
Richard Fuchs
c99a4691b4
MT#55283 use GPOINTER_TO_UINT
...
Change-Id: I5e8ee279aa193c1b7f71a01c42fa3482856b9b30
1 year ago
Richard Fuchs
bf10ace2f3
MT#55283 use relaxed ordered atomics
...
Change-Id: I17dbebf129412b077c3edbabe800a5ae49d0bb85
1 year ago
Richard Fuchs
dcc816dd07
MT#55283 use obj_release in more places
...
Change-Id: Ib343ff28bf6796238358170f89e565e5e9d6f707
1 year ago
Richard Fuchs
4c9343b8c6
MT#55283 used typed hash table for rtp_stats
...
Change-Id: I015a931d7e726815d2a7d06fa4d74a1418dfec0b
1 year ago
Richard Fuchs
bebec5eee4
MT#55283 add extra typed GPtrArray methods
...
Change-Id: If67ac73a5f7f7e767d8f8eb09a77ca552ab81148
1 year ago
Richard Fuchs
1eab1312ae
MT#55283 update bit field type to bool
...
Change-Id: Icd65e286d97719de2e51fd85b7af167a3fc31103
1 year ago
Richard Fuchs
7c4bc9bc07
MT#55283 update bit field type to bool
...
Change-Id: Ie85a3609a8889e31c551dce92dbcaec5af1e6675
1 year ago
Richard Fuchs
06b84ac050
MT#61625 refactor __rtp_stats_update
...
Make it so we can do this without a codec_store.
Change-Id: I3872709ee8d28ccccfab52006cb7f73887b53f04
1 year ago
Richard Fuchs
587c0dac82
MT#55283 convert __socket to bool
...
Change-Id: I1b631456716d37c188d473763fab6d5114573b01
1 year ago
Richard Fuchs
09c4c84d03
MT#55283 move helpers out of the way
...
Change-Id: I207d000c7c2cfca9c139518cc0111355b6414d60
1 year ago
Richard Fuchs
3662b74009
MT#55283 convert tos to bool
...
Change-Id: Icf424a04b79923c239f1ccdbb79115b080a84462
1 year ago
Richard Fuchs
ad11e98903
MT#55283 convert pktinfo to bool
...
Change-Id: I4fa705063400f119568f93fa037a51adabbe9c40
1 year ago
Richard Fuchs
bf08339f5a
MT#55283 convert timestamping to bool
...
Change-Id: If87a80917396fa397e6d0641c38546bd31a10a31
1 year ago
Richard Fuchs
df64eb09a4
MT#55283 convert accept to bool
...
Change-Id: Ie4e1415fd35fa6b4a3ab95ed80c2ab3047b902bc
1 year ago
Richard Fuchs
55ccc6bbe1
MT#55283 convert listen to bool
...
Change-Id: I18ab74fcd1e5ca330619a357d6ee080be45b2ab5
1 year ago
Richard Fuchs
88bbfc2255
MT#55283 convert connect to bool
...
Change-Id: I8086c72713b79c29d9cfd6822610e3580df38cc8
1 year ago
Richard Fuchs
9808a5f26c
MT#55283 convert eq to bool
...
Change-Id: I62460fe2184aaf8bd6e84957c46274c04bd672c4
1 year ago
Richard Fuchs
eb172ce029
MT#55283 convert bind to bool
...
Change-Id: Ic127aabf04e3185293e77194953f4eb93dd1a771
1 year ago
Richard Fuchs
23ca436a1e
MT#55283 convert sockaddr2endpoint to bool
...
Change-Id: I4d2fb4ea29284ea421920e514ec0d80392e1a7a0
1 year ago
Richard Fuchs
c621061cc7
MT#55283 convert sockaddr2endpoint to bool
...
Change-Id: Ib1e2ff18d8a64f71116fe5ce886c593cd29b2d51
1 year ago
Richard Fuchs
3337059585
MT#55283 convert endpoint_parse_any_str to bool
...
Change-Id: Id7ba272643f3578fbf12647444342f979b3d864f
1 year ago
Richard Fuchs
b5085cf1c7
MT#55283 convert ipv46_any_convert to bool
...
Change-Id: I7671aca8592ca02b6005c5e94aae3d18444fd7dc
1 year ago
Richard Fuchs
80f7c20429
MT#55283 convert sockaddr_getaddrinfo to bool
...
Change-Id: I75e04bdda3b54fd9f7cbe9d6ff8c978e2bb2c2d1
1 year ago
Richard Fuchs
5f418146c4
MT#55283 convert endpoint_parse_any_getaddrinfo_full to bool
...
Change-Id: I74dbdcb6798203306652078997b74bdaacfb8526
1 year ago
Richard Fuchs
fbcdaaee4a
MT#55283 convert endpoint_parse_port_any to bool
...
Change-Id: Iede44b1652ac749d0e0fbd31acb0e42bca8641c3
1 year ago
Richard Fuchs
86a825d3d4
MT#55283 convert endpoint_parse_any_getaddrinfo to bool
...
Change-Id: I81bb829ab4ccb8005109c2c1c874e83c3340a053
1 year ago
Richard Fuchs
3e5cf09486
MT#55283 convert endpoint_parse_any_getaddrinfo_alt to bool
...
Change-Id: I6e4437ce60065205c13271b96ee6b346af0a24fa
1 year ago
Richard Fuchs
ce68a760db
MT#55283 convert sockaddr_getaddrinfo_alt to bool
...
Change-Id: I0e071572b22977cbcd06aa1836b4b91c94de263b
1 year ago
Richard Fuchs
927c85e5ff
MT#55283 convert endpoint_parse_any to bool
...
Change-Id: Ia6fd64615591efe1dfd6de4cc70a5642ea777331
1 year ago
Richard Fuchs
4b13ada4e5
MT#55283 convert sockaddr_parse_str to bool
...
Change-Id: Idf1ab8653c14f8bf4fe0f1cc9f19054ed2de7157
1 year ago
Richard Fuchs
b7b8ef7610
MT#55283 convert parse_address to bool
...
Change-Id: I1ecde49d69b11cb57b3437033a789e036e1147a4
1 year ago
Richard Fuchs
3cce4ac230
MT#55283 convert sockaddr_parse_any_str to bool
...
Change-Id: Iaf9179bf1f55774bc9c63fd1238155f7ff3b7570
1 year ago
Richard Fuchs
81899d5483
MT#55283 convert sockaddr_parse_any to bool
...
Change-Id: I0bd04ab7f12d31feab469c7b3a6ac8df591ec8cd
1 year ago
Richard Fuchs
7599e5c375
MT#55283 convert close_socket to bool
...
Change-Id: I290012391ba1fa2c6c550614e054181de6e0b94e
1 year ago
Richard Fuchs
050cdd3ae1
MT#55283 convert addr_parse to bool
...
Change-Id: I3ef56f827c888c347ea2a83884c10e1e94d7bd83
1 year ago
Richard Fuchs
0a034ecde2
MT#55283 convert reset_socket to bool
...
Change-Id: I8f59d0d44186a0e41f2a044b24f2bf13714ebf16
1 year ago
Richard Fuchs
386f1d50cd
MT#55283 convert open_v46_socket to bool
...
Change-Id: I174a08cbed3f6ac856bf29458ee3c81ca2947de9
1 year ago