Richard Fuchs
c99a4691b4
MT#55283 use GPOINTER_TO_UINT
Change-Id: I5e8ee279aa193c1b7f71a01c42fa3482856b9b30
11 months ago
Richard Fuchs
bf10ace2f3
MT#55283 use relaxed ordered atomics
Change-Id: I17dbebf129412b077c3edbabe800a5ae49d0bb85
11 months ago
Richard Fuchs
dcc816dd07
MT#55283 use obj_release in more places
Change-Id: Ib343ff28bf6796238358170f89e565e5e9d6f707
11 months ago
Richard Fuchs
4c9343b8c6
MT#55283 used typed hash table for rtp_stats
Change-Id: I015a931d7e726815d2a7d06fa4d74a1418dfec0b
11 months ago
Richard Fuchs
1eab1312ae
MT#55283 update bit field type to bool
Change-Id: Icd65e286d97719de2e51fd85b7af167a3fc31103
11 months ago
Richard Fuchs
7c4bc9bc07
MT#55283 update bit field type to bool
Change-Id: Ie85a3609a8889e31c551dce92dbcaec5af1e6675
11 months ago
Richard Fuchs
06b84ac050
MT#61625 refactor __rtp_stats_update
Make it so we can do this without a codec_store.
Change-Id: I3872709ee8d28ccccfab52006cb7f73887b53f04
11 months ago
Richard Fuchs
09c4c84d03
MT#55283 move helpers out of the way
Change-Id: I207d000c7c2cfca9c139518cc0111355b6414d60
11 months ago
Richard Fuchs
df64eb09a4
MT#55283 convert accept to bool
Change-Id: Ie4e1415fd35fa6b4a3ab95ed80c2ab3047b902bc
11 months ago
Richard Fuchs
55ccc6bbe1
MT#55283 convert listen to bool
Change-Id: I18ab74fcd1e5ca330619a357d6ee080be45b2ab5
11 months ago
Richard Fuchs
3337059585
MT#55283 convert endpoint_parse_any_str to bool
Change-Id: Id7ba272643f3578fbf12647444342f979b3d864f
11 months ago
Richard Fuchs
80f7c20429
MT#55283 convert sockaddr_getaddrinfo to bool
Change-Id: I75e04bdda3b54fd9f7cbe9d6ff8c978e2bb2c2d1
11 months ago
Richard Fuchs
5f418146c4
MT#55283 convert endpoint_parse_any_getaddrinfo_full to bool
Change-Id: I74dbdcb6798203306652078997b74bdaacfb8526
11 months ago
Richard Fuchs
fbcdaaee4a
MT#55283 convert endpoint_parse_port_any to bool
Change-Id: Iede44b1652ac749d0e0fbd31acb0e42bca8641c3
11 months ago
Richard Fuchs
3e5cf09486
MT#55283 convert endpoint_parse_any_getaddrinfo_alt to bool
Change-Id: I6e4437ce60065205c13271b96ee6b346af0a24fa
11 months ago
Richard Fuchs
927c85e5ff
MT#55283 convert endpoint_parse_any to bool
Change-Id: Ia6fd64615591efe1dfd6de4cc70a5642ea777331
11 months ago
Richard Fuchs
4b13ada4e5
MT#55283 convert sockaddr_parse_str to bool
Change-Id: Idf1ab8653c14f8bf4fe0f1cc9f19054ed2de7157
11 months ago
Richard Fuchs
b7b8ef7610
MT#55283 convert parse_address to bool
Change-Id: I1ecde49d69b11cb57b3437033a789e036e1147a4
11 months ago
Richard Fuchs
3cce4ac230
MT#55283 convert sockaddr_parse_any_str to bool
Change-Id: Iaf9179bf1f55774bc9c63fd1238155f7ff3b7570
11 months ago
Richard Fuchs
81899d5483
MT#55283 convert sockaddr_parse_any to bool
Change-Id: I0bd04ab7f12d31feab469c7b3a6ac8df591ec8cd
11 months ago
Richard Fuchs
7599e5c375
MT#55283 convert close_socket to bool
Change-Id: I290012391ba1fa2c6c550614e054181de6e0b94e
11 months ago
Richard Fuchs
386f1d50cd
MT#55283 convert open_v46_socket to bool
Change-Id: I174a08cbed3f6ac856bf29458ee3c81ca2947de9
11 months ago
Richard Fuchs
c2ba54e615
MT#55283 convert open_socket to bool
Change-Id: I715afc937f6b1cbc124ff14a0428f781f58cd050
11 months ago
Richard Fuchs
cd0454b554
MT#61625 refactor codec_make_payload_type
Also change allocator to g_new as the slice allocator is obsolete.
Change-Id: I63675b462e8355a458d4075bebed5c9bdb95cd66
11 months ago
Richard Fuchs
21de8d4b94
MT#55283 modernise timeval_subtract
Change-Id: I7715ee92e12e88d69e3f714a6714f691646e240c
11 months ago
Richard Fuchs
5dd0a387a3
MT#55283 modernise timeval_from_us
Change-Id: I745365e9c0c3c055e6972d18ab4593b9589f55f5
11 months ago
Richard Fuchs
89abf47989
MT#55283 use timeval_subtract
Change-Id: I91174702dac50c05725a5e3b62bdeae5f7db9c32
11 months ago
Richard Fuchs
4947ab9404
MT#55283 modernise timeval_add
Change-Id: I16a368dc66e632d43f01f9e674ad9637a0c18370
11 months ago
Richard Fuchs
5280eaed88
MT#55283 fix typo
Change-Id: I2def70a1ec59aefd58ec7a5d7e3c08e82f9c66d5
11 months ago
Richard Fuchs
e734497afb
MT#55283 fix duplicate unlock
Change-Id: I9c7f0a6120185662c0e3615553f71d1c80302110
11 months ago
Richard Fuchs
5f6609de5d
MT#55283 don't pick an unsupported PT for playback
Make sure we properly return a failure if no supported payload type is
present.
Change-Id: Ia483e0819b2d8ca0c2c5184c929dfe3d05c96ca1
11 months ago
Richard Fuchs
7b60e85970
MT#55283 add codec_def_supported() helper
Make sure a codec is not only known to us, but that it can actually be
used, in places where it makes sense. This is partially redundant
because ensure_codec_def_type already takes care of this, but a codec
definition may come from a different source, so it doesn't help to
double check.
Change-Id: I91af84afc2477840f1400674b2538ad8fb7746ee
11 months ago
Richard Fuchs
c42f130da8
MT#61625 remove redundant ifdef
Change-Id: I0766d28190058816b65543e4e1a03ebfdf04da1f
11 months ago
Richard Fuchs
416ca38d25
MT#55283 allow overlapping port ranges
Change-Id: I6df35b8cc0687567d7c3c0fd6d44979345dca364
11 months ago
Richard Fuchs
1b7077152f
MT#55283 change reserve_port semantics
Change-Id: I162fbf8f167b1c47e060128dcb4f8773c8fbf3a7
11 months ago
Richard Fuchs
3c6108e072
MT#55283 move mutex locking into function
Change-Id: Ie01aa986887f2d0e709aae725b0a50ca833d84b6
11 months ago
Richard Fuchs
347c21fc7e
MT#55283 use typed GQueue
Change-Id: Iea5a5e988ea23a17a5b2da5f02cd972afae2db87
11 months ago
Richard Fuchs
9d93762053
MT#62053 add exclude-ports option
Change-Id: Ibf319f5ae00e120490610c695a326f5397412155
11 months ago
Richard Fuchs
aec1a0940c
MT#62053 add safeguard against broken port ranges
Change-Id: I5e4fa46b5d75253129e887da8ddbba4fc60702f5
11 months ago
Richard Fuchs
2d8f5616e4
MT#62053 exclude ports only from applicable interface
Change-Id: I9daf5fee91007e025b526e197191d98bdb54cc06
11 months ago
Richard Fuchs
3e5c6956af
MT#55283 use a more sendible port-max default
Change-Id: I79dcea7edbb29c7b32daa73c3a55f6ebf10b2eff
11 months ago
Richard Fuchs
6276b37cd2
MT#55283 use list pointer ops for port pool
Avoid repeated calls to the memory allocated for port pool list
management by picking out the list elements without freeing them,
storing them in the stream_fd object, and then returning them to the
list when the port is released.
Change-Id: I67cd5039e62e4d2965e85d7ba7f0454f08f40494
11 months ago
Richard Fuchs
b9972e481e
MT#55283 use bool type
Change-Id: I75aa1a4091ecc91d4937dfc0bdceb18551a9c879
11 months ago
Richard Fuchs
8e9afe626b
MT#55283 (some) type safety for ports free list
Change-Id: I79e47f9e6dbfa29c738f75efd2c3d3322e4cb6e1
11 months ago
Richard Fuchs
4e53f06fe6
MT#55283 directly pass port_pool to functions
Change-Id: Ifd68dc1b5bd53f4d5e9b74883f84104a02e86c18
11 months ago
Richard Fuchs
3fd2586d31
MT#55283 save some memory by using an offset
Change-Id: Ic53fd60bc2780d0890905c14acfbc39d8cf89861
11 months ago
Richard Fuchs
267d244cb4
MT#55283 use array instead of hash table
Change-Id: Ie510523724d14d8c76bb9647ee184ea3756be06c
11 months ago
Donat Zenichev
82093e7f52
MT#61630 moh: add logs
Add more logs to let MoH functionality
be more explanative and give a clue
it's triggered or not.
Change-Id: Ic512883c3ff9b86554e61362c1d1a456dd733c0d
11 months ago
Richard Fuchs
4279ed6750
MT#55283 fix for older compilers
Change-Id: I05e8d3bd5c4b9608f4896aecab189c8c344fb139
11 months ago
Richard Fuchs
daf39269c5
MT#55283 add codec-ignore option
Change-Id: Ie14a97896e2bb8a82ccfce0ee9d07a38adb275c9
11 months ago