Richard Fuchs
86d039f5a6
MT#55283 use size_t as gperf length argument
...
Change-Id: I69ac24cc84fa385e4e3edd6f8b4b313df811728f
11 months ago
Richard Fuchs
9da75efc8a
MT#61822 fix possible uninitialised value
...
Change-Id: I8054de9d9cb0e1abe267f5878c2519c2addce9e8
Warned-by: Coverity
11 months ago
Richard Fuchs
048d745dfe
MT#55283 replace internal help with generated one
...
Change-Id: I2bab78c0a1ce85c1868398d48bcd2a3bab847ee2
11 months ago
Richard Fuchs
2c2daa920a
MT#55283 embed help into CLI data
...
Change-Id: Ic10a82f27653d400f75a2bcab65a7936431e2e94
11 months ago
Richard Fuchs
f19737a53f
MT#55283 add return value to cw_printf
...
Change-Id: Ibd4b6b18adb86919d99c258e526d79d4ab5d8ce1
11 months ago
Richard Fuchs
a66c9e6e13
MT#55283 update return type
...
Change-Id: Id536bea91bd34287c6c318c5edf00c4dcf017846
11 months ago
Richard Fuchs
42c46f2d68
MT#55283 use string hashing for CLI parsing
...
Change-Id: I270deca0e5fc9f07be501f9a4c336244fc50be9b
11 months ago
Richard Fuchs
8e50664fa1
MT#55283 refactor CLI structures with macros
...
No functional change.
Change-Id: I8fa9b9d6ee61aafadf01016bd2ed64be6cdbfef8
11 months ago
Richard Fuchs
05cafe6c5c
MT#55283 support multiple gperf sections
...
Instead of lumping all strings of a file into a single hash function,
split them up into their respective sections, as there is no point in
matching against strings that aren't part of the switch statement. This
should give a bit of a performance boost.
Nested hash sections require special handling as the wrapper script
isn't smart enough to hande them automaticaly.
Change-Id: I74863dfe6ca412d58101d37f9c9c85078826f1a4
11 months ago
Richard Fuchs
921afde080
MT#55283 use const for gperf data
...
Might allow the compiler to do some extra optimisations
Change-Id: I836f5a6502964c1285553e92ad1d9a98a50766e4
11 months ago
Richard Fuchs
79005cd6da
MT#55283 check for allocation failure
...
Change-Id: I26ff3bf77500b3772060507fdcbee00002e50a2c
Warned-by: Coverity
11 months ago
Richard Fuchs
20ac8d2dd1
MT#61822 support removing unused cache data
...
Change-Id: I99fef5dd779e1b505aa2ad17ff68cd2eef6e050d
11 months ago
Richard Fuchs
9d55bb6b35
MT#61822 report errors from caching files
...
Change-Id: Ideb8ff399a710e912aef5dbc7629e2eda8691b19
11 months ago
Richard Fuchs
d707e206ea
MT#61822 track and report cache mtimes and atimes
...
Change-Id: Idaaebe925aa26275002bb2c436b13216c7e99064
11 months ago
Donat Zenichev
16b7200ed1
MT#61856 docs: re-design general tree
...
Make entry tree simpler and give
links to commonly used things like
NG control protocol.
This simplifies usage of documentation.
Change-Id: I1283bf8a88c7c6e4ff7ab9451610bc6e224c0119
11 months ago
Donat Zenichev
2514d36129
MT#61856 docs: make README titles smaller
...
Secondary titles have to be smaller:
- to embed it easier into the toctree of index file
- to have better readability for users (github,RTD)
Change-Id: If8f97f97b1d64b7593228eeda16c794e66453c27
11 months ago
Donat Zenichev
a07b972000
MT#61856 docs: remove duplicated intro from index
...
Remove the intro information from index,
because already mentioned in the overview.
Also change a greeting title.
Change-Id: I5c232fa033eac8e3097ad5adb351e8940a33a4ee
11 months ago
Donat Zenichev
82e8ed43e0
MT#61630 moh: introduce Music-on-hold documentation
...
Add configuration options and NG interface usage.
Change-Id: I97b12b965e70eb6cfc9918fa2518e1f9f6202598
11 months ago
Richard Fuchs
aca2433bbd
MT#55283 el: don't fork to background
...
Reported in #1896
Change-Id: I58d09ef930c8fa55efa5592ff746a65270dea68b
11 months ago
Richard Fuchs
dd04af1163
MT#55283 fork to background before init HTTP/WS
...
HTTP/WS init creates worker threads, which would be terminated by a fork
to background. Reverse the order.
Closes #1896
Possibly also relevant to #1895
Change-Id: I30b61e07ad3bed41b6b241e8943ed479277c1474
11 months ago
Dennis Yurasov
d559a537c6
MT#55283 Added several useful fields for mqtt stats publishing
...
Closes #1899
Change-Id: Ib7553a4aa173f460dc0a59b7bb1adbc4b98757b8
11 months ago
Richard Fuchs
f443bd8ce2
MT#55283 fix kernel compilation for >= 6.13
...
Closes #1898
Change-Id: I585db2307f750abc18f9918451cab6c6c693965c
11 months ago
Richard Fuchs
da79f90853
MT#61822 add tests for player cache size
...
Change-Id: I04b2b3e320dae5100ba353331eb6e1225fed1185
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
bce0b8fc43
MT#61822 refcount media_player_cache_entry
...
Change-Id: I5a88a78070dd0b45731a70ad738d33cc48a2524a
11 months ago
Richard Fuchs
98a7c1ef06
MT#61822 include index object in entry
...
Change-Id: Ibeb100727ded16db788faaee750b60b7bd6a04be
11 months ago
Richard Fuchs
7f7259c260
MT#61822 refcount media players in hash
...
Change-Id: Id166918e97ea2dbe644543ccfd78d7c4323b70e6
11 months ago
Richard Fuchs
1191d2e8ca
MT#61822 hold call reference while decoding
...
The media blob is owned by the call, so we need to hold a reference to
the call until decoding is finished.
Change-Id: I6ed0d35edb485aad2811b287706ef101c4aa2c3f
11 months ago
Richard Fuchs
f0160d1c9d
MT#61822 use auto lock
...
Change-Id: Ice8a889f238f545dbd649e38e4f2833862ddaf00
11 months ago
Richard Fuchs
03b16d4ba7
MT#61822 add more debug log output
...
Change-Id: I345937e794088593b94c4d4b432d88d354285756
11 months ago
Richard Fuchs
bb03710131
MT#61822 use transparent union as arg
...
Change-Id: Icbba155570f583e49b02e797079082c3896a775d
11 months ago
Richard Fuchs
597229f4c8
MT#61822 add player_cache stats metric
...
Change-Id: Ie65070f1a0ea87aebb2f11b2089fdf94969f9986
11 months ago
Richard Fuchs
3694539bc5
MT#61822 switch to typed media_player_cache_ht
...
Change-Id: I04e8dd888fa65c4f43423693feb711af34030a84
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
4755594f90
MT#61822 fix with_transcoding=no warnings
...
Change-Id: Ic1996eceda52befe869c7de5851453a256be0f70
11 months ago
Richard Fuchs
8286cc93b9
MT#61822 support reloading of FS cache
...
Change-Id: I028a9f8ffb6ff51f753744fc39d0a5c0b19a9e7b
11 months ago
Richard Fuchs
ff16ac27f5
MT#61822 support on-demand loading to FS cache
...
Change-Id: Ifce951e52710fdb12ccb0de5d1a110b6f05a9873
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
84568b3905
MT#61822 use ARG_FILENAME where appropriate
...
Change-Id: I2aa74dcd7daec716e27c94f493c60d573717d4b2
11 months ago
Richard Fuchs
db9144b91c
MT#61822 support on-demand loading of DB media
...
Change-Id: Ia356fbebdbb752ea7da314b8b16481eb302204d1
11 months ago
Richard Fuchs
40bb74ad52
MT#61822 add db-media-reload option
...
Change-Id: I50dbd868eeea2dd15d6cf95f5b80d5b4183f7d10
11 months ago