Richard Fuchs
08e382540e
MT#55283 add link to port_pool in socket_port_link
...
Change-Id: I43400175271b089a368f731bd55acb05ccab7141
10 months ago
Richard Fuchs
4c9343b8c6
MT#55283 used typed hash table for rtp_stats
...
Change-Id: I015a931d7e726815d2a7d06fa4d74a1418dfec0b
10 months ago
Richard Fuchs
1eab1312ae
MT#55283 update bit field type to bool
...
Change-Id: Icd65e286d97719de2e51fd85b7af167a3fc31103
10 months ago
Richard Fuchs
7c4bc9bc07
MT#55283 update bit field type to bool
...
Change-Id: Ie85a3609a8889e31c551dce92dbcaec5af1e6675
10 months ago
Richard Fuchs
c2ba54e615
MT#55283 convert open_socket to bool
...
Change-Id: I715afc937f6b1cbc124ff14a0428f781f58cd050
10 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
10 months ago
Richard Fuchs
eb53be9312
MT#61625 add type safety to arena_malloc
...
Change-Id: Ia94e5b8a6099d2e424d71205ce365e1a4d25479c
10 months ago
Richard Fuchs
416ca38d25
MT#55283 allow overlapping port ranges
...
Change-Id: I6df35b8cc0687567d7c3c0fd6d44979345dca364
10 months ago
Richard Fuchs
347c21fc7e
MT#55283 use typed GQueue
...
Change-Id: Iea5a5e988ea23a17a5b2da5f02cd972afae2db87
10 months ago
Richard Fuchs
9d93762053
MT#62053 add exclude-ports option
...
Change-Id: Ibf319f5ae00e120490610c695a326f5397412155
10 months ago
Richard Fuchs
2d8f5616e4
MT#62053 exclude ports only from applicable interface
...
Change-Id: I9daf5fee91007e025b526e197191d98bdb54cc06
10 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
10 months ago
Richard Fuchs
8e9afe626b
MT#55283 (some) type safety for ports free list
...
Change-Id: I79e47f9e6dbfa29c738f75efd2c3d3322e4cb6e1
10 months ago
Richard Fuchs
3fd2586d31
MT#55283 save some memory by using an offset
...
Change-Id: Ic53fd60bc2780d0890905c14acfbc39d8cf89861
10 months ago
Richard Fuchs
267d244cb4
MT#55283 use array instead of hash table
...
Change-Id: Ie510523724d14d8c76bb9647ee184ea3756be06c
10 months ago
Richard Fuchs
daf39269c5
MT#55283 add codec-ignore option
...
Change-Id: Ie14a97896e2bb8a82ccfce0ee9d07a38adb275c9
10 months ago
Richard Fuchs
3ea365ef60
MT#55283 use typed hash table for rr_spec
...
Change-Id: I99a4c334e182e5cb568cd8241b4f81340066dee2
10 months ago
Richard Fuchs
02bccee56b
MT#55283 use typed queue for local_intf
...
Change-Id: Id7bf3804ab029bdf60d010b05e057bb7851645cd
10 months ago
Richard Fuchs
052972082a
MT#62053 generalise config loading
...
Switch from specialised handling of config sections (used to load
signalling templates) to a more general approach using a callback
mechanism. This allows us to add more information to the config file
while keeping the details of the underlying GKeyFile hidden. Use a typed
hash table for type safety.
Change-Id: I71ddfda0202b47df363bcc5acf1725078774f8f1
10 months ago
Richard Fuchs
add46f265a
MT#55283 prevent erroneous swithch to DB 0
...
A call that gets created but then doesn't get initialised would have its
Redis DB left at zero. At destruction it would then try to switch to DB
zero. Fix this by using an appropriate initial value.
Closes #1905
Change-Id: I852e48c5a06b732b37d2ccd5c478de4760aacd4e
10 months ago
Richard Fuchs
17c7fd5375
MT#61630 support CLI commands via POST
...
Change-Id: I2970b331f4889bed7eab11d33ab16751ef4246a5
11 months ago
Richard Fuchs
f19737a53f
MT#55283 add return value to cw_printf
...
Change-Id: Ibd4b6b18adb86919d99c258e526d79d4ab5d8ce1
11 months ago
Richard Fuchs
20ac8d2dd1
MT#61822 support removing unused cache data
...
Change-Id: I99fef5dd779e1b505aa2ad17ff68cd2eef6e050d
11 months ago
Richard Fuchs
d707e206ea
MT#61822 track and report cache mtimes and atimes
...
Change-Id: Idaaebe925aa26275002bb2c436b13216c7e99064
11 months ago
Richard Fuchs
9673703476
MT#61822 add new "CLI" NG command
...
Change-Id: Idd4114783b1bb6cc683970110a2f322ec07b894a
11 months ago
Richard Fuchs
d436c1d361
MT#61822 support evicting player cache data
...
Change-Id: I58c1127f2b906a3e238a2dc8579d433abe72c50b
11 months ago
Richard Fuchs
601abd2e5b
MT#61822 add list player cache
...
Change-Id: If40ab9218354b95ef2b4fba47cd5e38ab318a325
11 months ago
Richard Fuchs
597229f4c8
MT#61822 add player_cache stats metric
...
Change-Id: Ie65070f1a0ea87aebb2f11b2089fdf94969f9986
11 months ago
Richard Fuchs
cd2c585958
MT#61822 add metric for cache size
...
Change-Id: I775839f6482b24fce216e32c1589d7eb91174c72
11 months ago
Richard Fuchs
e6172c34a2
MT#61822 add CLI cmd to add cached media
...
Change-Id: I749833d1548069444b36d1933a56080eebf9583d
11 months ago
Richard Fuchs
dcdeb6a9de
MT#61822 add db-cache-reload
...
Change-Id: I4976329d2a778fc9a87773a2d85c48bc1b0977ba
11 months ago
Richard Fuchs
8286cc93b9
MT#61822 support reloading of FS cache
...
Change-Id: I028a9f8ffb6ff51f753744fc39d0a5c0b19a9e7b
11 months ago
Richard Fuchs
84998ced95
MT#61822 support preloading DB media to FS
...
Change-Id: I72a66a22d0eb75b7ea4a24c7c001c74fb25ca39b
11 months ago
Richard Fuchs
0fd3ac73a8
MT#61822 supporting removing entries from FS cache
...
Change-Id: Ie358778ce5d8d6872bc4964367cf0ec22296934f
11 months ago
Richard Fuchs
33be3468a7
MT#61822 support listing contents of FS cache
...
Change-Id: I31f9fe2bd0b95e832e285fa96ea969c703a816be
11 months ago
Richard Fuchs
a2ffa18d6c
MT#61822 add CLI command to list media cache
...
Change-Id: I41d388abefa1b356d7fecf7b1dc662d899a8f9ac
11 months ago
Richard Fuchs
33128b8c4a
MT#61822 add mechanism to remove cached media
...
Change-Id: I4be32b9b7cf122f09b891aff616c18f5ac883cd9
11 months ago
Richard Fuchs
48cbb29371
MT#61822 support FS cache for DB media
...
Change-Id: I1dd390843f4b02eb64587673d33b9291bd9acac1
11 months ago
Richard Fuchs
40bb74ad52
MT#61822 add db-media-reload option
...
Change-Id: I50dbd868eeea2dd15d6cf95f5b80d5b4183f7d10
11 months ago
Richard Fuchs
e7c424d1ac
MT#61822 support preloading media from DB
...
Change-Id: Ieba8c9dd7ee413c64292a2fd48a16d38bade6be3
11 months ago
Richard Fuchs
5ba1793aff
MT#61822 add media-files-reload option
...
Change-Id: Ica0aaa49a772ce7a078858d720a215de5bb557f6
11 months ago
Richard Fuchs
64a250b593
MT#61822 add function to reload/refresh media
...
Change-Id: Ib9b745a15358ea8abd571a78c802592462047fed
11 months ago
Richard Fuchs
67dfeef914
MT#61822 support caching of media files in memory
...
Change-Id: I4b4e203b03273abf6e745897dea2de663f599a6c
11 months ago
Richard Fuchs
f86c5e17b6
MT#61822 change media player allocation semantics
...
Use the call's memory arena to store strings (in particular the media
blob), and use intrusive allocation storage for the blob str itself.
Change-Id: I3a3d480869d61a2e66a24e88ad135bacca947072
11 months ago
Richard Fuchs
1bcfb2baad
MT#55283 use bencode buffer for log limiter
...
This allows us to deallocate all held strings in one go without having
to iterate much.
Requires adjusting tests, Makefiles and dependencies.
Change-Id: Ic214f9dd2cd9609cb472301f52bb10d1918d859e
11 months ago
Richard Fuchs
0baf79dada
MT#55283 move bencode.c to lib/
...
Change-Id: Iba99f31d99dfa4f71b2bcfdb44c5ac3f2ba0e6f7
11 months ago
Richard Fuchs
6e55a48369
MT#55283 use bencode_buffer for cookie cache
...
Change-Id: I5b9a50ab664504d9b7e58898dfa7af8fe1fe36f8
11 months ago
Richard Fuchs
113ae25a3c
MT#55283 add extra bencode_strdup* primitives
...
Change-Id: I54e108d276ebdb449227902efdaaf996d6c799a0
11 months ago
Richard Fuchs
e45a3c20df
MT#55283 modernise bencode_strdup_str
...
Change-Id: I517728e007ddb6920c167eae018ab147a356c6cc
11 months ago
Richard Fuchs
bd440dcdcb
MT#55283 use enum ng_opmode
...
Change-Id: Ic511765a87faf53d9b8afd4a216bfcb1755f5c5e
11 months ago