Richard Fuchs
9196bb5f5d
MT#55283 track poller stats
Count number of wakeups and number of items per wakeup
Change-Id: I75eb53804f9690722a3908339bf9f606c8a8f4a9
3 weeks ago
Richard Fuchs
750c00618f
MT#55283 increase poller wait time to forever
Change-Id: I1df315d9f5382a974d67471f0f2eedec0eb9cb69
3 weeks ago
Richard Fuchs
11f92ac502
MT#55283 use g_new instead of g_malloc
Change-Id: I54a69b5ecfe0650653080e345a69b0c257682c70
3 weeks ago
Richard Fuchs
15effb7641
MT#55283 type-safe thread helpers
Change-Id: I90ba4347ed787eb63bad84287bea200fac5dbe82
3 weeks ago
Richard Fuchs
5263fb0098
MT#55283 pull down service ready notification
Change-Id: I1cd82828c15598ef7d2f6c868d3ea479ac3ed934
4 weeks ago
Harsh Daga
d45a29e3cd
MT#55283 adaptive jitter buffer
closes #2018
Change-Id: I94d4eb08e96fe33e149a03a647c6b13c814d7469
1 month ago
Richard Fuchs
1fdf5cf2ea
MT#55283 add TCP keepalives for Redis connections
Change-Id: Id16f7f0f547f45cbef95bc98ede67a30f01cf3b9
1 month ago
Richard Fuchs
923d99d60d
MT#55283 change default learning mode to heuristic
Change-Id: Ib974e61f7a413d8e808bb1342733744e5bcdb721
3 months ago
Richard Fuchs
ec841478d9
MT#55283 final release of all sockets at shutdown
Empty out the late release queue when shutting down.
Change-Id: I2969f4866a6a8414ec2e8422e40112d10be4f0dd
4 months ago
Richard Fuchs
116fc223d3
MT#55283 move subscribe-keyspace option
Put it together with the other Redis options for consistency.
Change-Id: Ic83da4f14717a302be94f23e45fa0a4bab9b986d
5 months ago
Richard Fuchs
3ce25d062c
MT#55283 version-guard lws buf size
Change-Id: Ib056bc7eb644eda07a26f0a5e91beb3a670e1719
5 months ago
Donat Zenichev
836423e33c
MT#61856 main: first static, then const
Fixes:
main.c: In function ‘options’:
main.c:1055:9: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
1055 | const static size_t max_buf_size =
| ^~~~~
Change-Id: I500785e712d94ff0969317edf3d7a256dc4e3182
5 months ago
Richard Fuchs
f5277e5c30
MT#55283 add http-buf-size option
closes #1950
Change-Id: I12047e7e6af8e0d927744a0dc70c5b4668420878
5 months ago
Richard Fuchs
2fdafa67d7
MT#55283 fix missing strdup
Add breakage to tests
Change-Id: Idec72d08f124d562e5112febd8a9114fe80cec68
7 months ago
Richard Fuchs
5d613020e6
MT#55283 add global bufferpool
These are normally held per thread, but in cases of threads not having
dedicated init/cleanup functions (GLib thread pool), we can use a global
one as fallback.
Fixes #1936
Change-Id: Ia2ff3523e6079baa73e0721862100ec2f8b66c88
7 months ago
Richard Fuchs
71addf5118
MT#62687 support codec preferences
Change-Id: Ib8eaca5b2223cf7eb40e9dc68e8ab05782bd4f99
8 months ago
Richard Fuchs
cf22d82932
MT#55283 eliminate input/output combination SSRC
Change-Id: I94636b7f6fb6fb31cd3bf332fffe0203e17f6c16
8 months ago
Richard Fuchs
4d5ff2401a
MT#55283 scale dtx timers
Change-Id: I296b56b8f77349addf384bf8bc3896b0b799f4bd
8 months ago
Richard Fuchs
6e07f40f47
MT#55283 scale mqtt_publish_interval
Change-Id: I7ed5d5ea275139a81a91126100af6edadafe66fd
8 months ago
Richard Fuchs
e12ba22a7c
MT#55283 scale redis timers
Change-Id: I8b9fcbb63ab096c7f1362f2df2f137258c45dc12
8 months ago
Richard Fuchs
180cb210cc
MT#55283 scale rtcp-interval
Change-Id: I2edc92d2fc2d707b93d7510ee69217b9ff5e07d5
8 months ago
Richard Fuchs
461de892c4
MT#55283 scale expire times
Change-Id: Ia7daea4471967797c404c4346b9786cd274067d8
8 months ago
Richard Fuchs
4eadfd2274
MT#55283 scale delete-delay
Change-Id: I61478a8f9d08921dd086735b96f6594e22690d30
8 months ago
Richard Fuchs
482166f0dc
MT#55283 scale offer-timeout
Change-Id: I35419b378eaef025ec32dce616fdd046d3e05c8e
8 months ago
Richard Fuchs
d3dc92aca9
MT#55283 scale final-timeout
Change-Id: I59f95f472477099cb71caebd828b2178f2577285
8 months ago
Richard Fuchs
3261098384
MT#55283 scale timeout
Change-Id: I23628cfcf4e5044300a01c1e15591746467df1ba
8 months ago
Richard Fuchs
9061ce05be
MT#55283 scale silent-timeout
Change-Id: I111628b82110df3b37922c2aeffae401abf782f8
8 months ago
Richard Fuchs
e92f260e7a
MT#55283 convert daemon/ to int64_t
Change-Id: Ie557204821fddfa5af0be96cc8f0ff2dd093fc7c
8 months ago
Richard Fuchs
5dd2b5bb74
MT#55283 convert graphite to int64_t
Change-Id: Ifeb8e560716330a5c3e573a355a90a46c3f68f30
8 months ago
Richard Fuchs
c70510303a
MT#55283 convert rtpe_now to int64_t
First step in converting (almost) all timeval uses to int64_t
Change-Id: If20fd749c61c278273c535b68287df7e6f042808
8 months ago
Richard Fuchs
0623b6b9de
MT#61625 tie codec-chain into transcode-config
Change-Id: Ida6e51b8b4ef3cefe738ccd1678ec86763e93711
8 months ago
Richard Fuchs
4d8156bf91
MT#55283 remove remnants of g_slice
The GLib slice allocator has been obsoleted. Having a mixture of two
allocators can lead to hidden issues on systems that use different
implementations. Take the leap and replace everything with g_new/g_free.
Change-Id: I025c8383ef47b2c2472573360407fd6a6ca339b3
8 months ago
Richard Fuchs
dd91f0ec11
MT#55283 centralise uring methods
Introduce struct to keep uring-specific thread-local method pointers
Change-Id: I7b0d1fd82cf5f3d114e8072553cb74054ac7e133
9 months ago
Donat Zenichev
9a3c54a523
MT#62272 Introduce `moh-prevent-double-hold` config option
Protects against double MoH played,
e.g. when inadvertently two rtpengine instances try to trigger MoH.
This gives a clue to the current rtpengine instance,
that another one already started MoH for this call.
By default is set to false.
Change-Id: I7cc36a177b0ce1bdb64ff8b42bf31f13fb1e4c91
9 months ago
Richard Fuchs
9bd5670f89
MT#55283 use fixed allocation size
Allocate all bufferpool shards of the same size, regardless of
underlying allocator. This way increase memory usage a bit, but we're
already quite heavy on that, so no big deal.
Change-Id: Icbe09cd2f9b33bc58ab1efe7de293dea00236fec
9 months ago
Richard Fuchs
1a98502a1b
MT#55283 used aligned memory for bufferpool
Use allocators that return memory blocks aligned to the requested size,
instead of generic malloc. This makes it easier to play tricks with the
memory blocks.
Change-Id: Iad4b1127c76e48c2e9b4ad8489118d4883a24f6a
9 months ago
Richard Fuchs
7dbcb578ab
MT#61625 add "transform" transcode handler
Change-Id: I9b9ef39859f196a9c0ea8a7aee657311a70a5d03
10 months ago
Richard Fuchs
6b5fac9dc7
MT#61625 add "transcode-config"
Adds a new config section that allows adjusting behaviour for certain
transcoding scenarios. This only adds the initial support for the config
option.
Change-Id: Ia3d43061adc540fab054e5c99ab804dc1ff53b84
10 months ago
Richard Fuchs
fb84336d1a
MT#61625 add global memory arena
Change-Id: I49c9f786d0826c090df348eb7ae600f6887611bd
10 months ago
Richard Fuchs
e72f7e4b0f
MT#61625 add ng_client code
Change-Id: If216cedc5b2ff81dadf1ec7d1df2b767c9dd3abc
10 months ago
Richard Fuchs
082f3f91cf
MT#55283 add timer-accuracy= option
Change-Id: I32eb05a5eaacccd2ef3e553a90a1eada33a9f50d
9 months ago
Richard Fuchs
ccccded287
MT#55283 add evs-dtx= option
Change-Id: I6489895e31e1fcf1c72c9767b122189f22f58792
10 months ago
Richard Fuchs
7e30f816e4
MT#55283 change amr_cn_dtx option to bool
Change-Id: Ife3d89d8c133b14bf42b6c3468675a6147882681
10 months 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
10 months ago
Richard Fuchs
80f7c20429
MT#55283 convert sockaddr_getaddrinfo to bool
Change-Id: I75e04bdda3b54fd9f7cbe9d6ff8c978e2bb2c2d1
10 months ago
Richard Fuchs
5f418146c4
MT#55283 convert endpoint_parse_any_getaddrinfo_full to bool
Change-Id: I74dbdcb6798203306652078997b74bdaacfb8526
10 months ago
Richard Fuchs
3e5cf09486
MT#55283 convert endpoint_parse_any_getaddrinfo_alt to bool
Change-Id: I6e4437ce60065205c13271b96ee6b346af0a24fa
10 months ago
Richard Fuchs
81899d5483
MT#55283 convert sockaddr_parse_any to bool
Change-Id: I0bd04ab7f12d31feab469c7b3a6ac8df591ec8cd
10 months ago
Richard Fuchs
5dd0a387a3
MT#55283 modernise timeval_from_us
Change-Id: I745365e9c0c3c055e6972d18ab4593b9589f55f5
10 months ago
Richard Fuchs
9d93762053
MT#62053 add exclude-ports option
Change-Id: Ibf319f5ae00e120490610c695a326f5397412155
10 months ago