Richard Fuchs
844a7e018b
MT#61977 remove unused function
Change-Id: I171b7eedb1fd3686ce8c5b2b071511daaca3cb36
5 months ago
Richard Fuchs
28884150b7
MT#61977 remove logically dead test
if ((output_storage & OUTPUT_STORAGE_MEMORY))
goto no_output_file;
jumps over this code, so there's no point in testing for
OUTPUT_STORAGE_MEMORY
Change-Id: I95eec8904714c9ab06f066ac4bb59ec0413e6916
5 months ago
Richard Fuchs
428999c376
MT#61977 turn output-storage= into list
Change-Id: I74bad7993ef213ca374abcb6310b9693a2af13f6
5 months ago
Richard Fuchs
e2e4d8f401
MT#55283 fix DB metadata output
Delay writing of call DB entry until a metadata has been set, even if
empty. This is so that we can know whether "skip DB" was set or not.
Check DB entry status with every event, not just when streams are
created. Stream may get created before all relevant data for DB entries
is there.
Change-Id: I4834c83d83cd367c9570840d7c57e9a3223c195f
4 months ago
Richard Fuchs
0c06ed0f3f
MT#61977 fix DB timestamping
Change-Id: I538d0b942b889b7018488e546e97f36449991569
4 months ago
Richard Fuchs
59279674bf
MT#55283 make sure DB entry exists
Change-Id: I54380be963b3526d2a6330aae64bc3b6e8f41559
4 months ago
Richard Fuchs
1e0c91c372
MT#55283 move option to correct section
Change-Id: Ied55e0859f8c8dd3387d2b564ddde09d26b1afef
5 months ago
Richard Fuchs
4cfaf1a3cf
MT#63151 remove duplication of files during make
Change-Id: I67f45a52660b089748c4f6f76c564bbc97fa1899
6 months ago
Richard Fuchs
e600a58502
MT#63151 make poller.h override more specific
Change-Id: I6ec6fdde8305615dc999021568a1277f22d3e075
6 months ago
Donat Zenichev
03e6b84ebc
MT#61856 recording-daemon: output.c make some of funcs static
Just because of only local usage, keep them static.
Change-Id: I0bd3badd3abb6166a7d16aab07a943d7b36594b3
6 months ago
Donat Zenichev
2fd148032c
MT#61856 recording-daemon: update const qualifiers
Don't use const in:
- output_avio_mem_write()
- output_avio_write()
`avio_alloc_context()` of avio.h lib wants buf
to be non-constant.
Also it's the only usage of locally defined funcs,
moreover:
- output_avio_write() has fwrite() that protects buf with const
- output_avio_mem_write() casts given buf to `const char*`
Fixes:
output.c: In function ‘output_config’:
output.c:405:39: warning: passing argument 6 of ‘avio_alloc_context’ from incompatible pointer type [-Wincompatible-pointer-types]
405 | NULL, output_avio_write, output_avio_seek);
| ^~~~~~~~~~~~~~~~~
| |
| int (*)(void *, const uint8_t *, int) {aka int (*)(void *, const unsigned char *, int)}
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:316,
from types.h:9,
from output.h:4,
from output.c:1:
/usr/include/x86_64-linux-gnu/libavformat/avio.h:468:25: note: expected ‘int (*)(void *, uint8_t *, int)’
{aka ‘int (*)(void *, unsigned char *, int)’} but argument is of type
‘int (*)(void *, const uint8_t *, int)’ {aka ‘int (*)(void *, const unsigned char *, int)’}
468 | int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int (*)(void *, const uint8_t *, int) {aka int (*)(void *, const unsigned char *, int)}
int (*)(void *, const uint8_t *, int)
output.c:409:39: warning: passing argument 6 of ‘avio_alloc_context’ from incompatible pointer type [-Wincompatible-pointer-types]
409 | NULL, output_avio_mem_write, output_avio_mem_seek);
| ^~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *, const uint8_t *, int) {aka int (*)(void *, const unsigned char *, int)}
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:316,
from types.h:9,
from output.h:4,
from output.c:1:
/usr/include/x86_64-linux-gnu/libavformat/avio.h:468:25: note: expected ‘int (*)(void *, uint8_t *, int)’
{aka ‘int (*)(void *, unsigned char *, int)’} but argument is of type
‘int (*)(void *, const uint8_t *, int)’ {aka ‘int (*)(void *, const unsigned char *, int)’}
468 | int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/donat/git/sipwise/rtpengine/recording-daemon'
Change-Id: Ied4936fe24d55c241a3f72550e643368a014c181
6 months ago
Richard Fuchs
2845bb1efa
MT#62571 streamline resampling
Move destination format information into the sink object.
Decode each codec directly to its matching output format and leave
resampling to the sinks.
Move managing of the adjusted multi-channel output format into the mix
context.
Make sure all inputs to a mix outputs use the same audio format.
Change-Id: Ib9f334443bfee26d59f2ede6e13ac80c66c1b57e
6 months ago
Richard Fuchs
ef3b1c2956
MT#62571 support mixed TLS/TCP output
Change-Id: I8f2b6372e9379d1845245f95bb69498661fbebf9
6 months ago
Richard Fuchs
549e98e3dc
MT#62571 generalise tls_fwd_new
Change-Id: Icfb9487e98bb8c4dfbb728299373327c5693330d
6 months ago
Richard Fuchs
6476b8156e
MT#62571 generic mix sink
Change-Id: Ia02ed34cd7d8ddb39b4e3c6f8c051ab92abb355f
6 months ago
Richard Fuchs
15465d0878
MT#62571 allow creation of mix after streams
Change-Id: I98a45fb7394e561010a36772e9c56395e80ca26e
6 months ago
Richard Fuchs
7dfe1e30f5
MT#62571 support sending multi channel audio
Change-Id: I8e79b7b873308f9ed2bedbe18a4f61a6e7c3ae93
6 months ago
Richard Fuchs
a14c20d04e
MT#62571 turn tls_fwd into sink
Change-Id: Ic859d0dd65156761007641ccd3f4e710d7e7fa9f
6 months ago
Richard Fuchs
aa627d78ec
MT#62571 further encapsulate tls_fwd
Change-Id: I790ac03ee4f51027d080b9152a4cae8c995e93c1
6 months ago
Richard Fuchs
5ebd94d742
MT#62571 turn tls_fwd into allocated obj
Change-Id: Ie766b483a51bca7f2677f7ccf029379302437067
6 months ago
Richard Fuchs
ad063360bd
MT#62571 encapsulate tls_fwd
Change-Id: I06b925e2eb2bbdb7a4741a93a64701f495409616
6 months ago
Richard Fuchs
06c89206c1
MT#62571 turn mix output into sink
Change-Id: I59140d641679b84ce3831ba1dcad07e38deda46f
6 months ago
Richard Fuchs
316161f6aa
MT#62571 add sink to decode_t
Unused at this point except for the resampler
Change-Id: I093d7924c0bcc42a9a5162e1f02a374ea97e1bf3
6 months ago
Richard Fuchs
293b393177
MT#62571 remove output_config from decoder_new
Change-Id: I7a15c7657bc3a3492a3e7659b9c3473bb07f5e9a
6 months ago
Richard Fuchs
fb2b6986bb
MT#62571 add sink resampling stage
Change-Id: Ifcd25ea9ed71f913e44ebb34a8fe63ae92f748f0
6 months ago
Richard Fuchs
98db2ba250
MT#62571 add sink config method
Change-Id: Ia10636ec7090b8dbe976bb8b91defde8b3a34395
6 months ago
Richard Fuchs
08ee3b2b31
MT#62571 abstract sink/output
Change-Id: Ie08b27b268f9e9aa1bdea134bc20ef4b98ae7425
6 months ago
Richard Fuchs
374357302a
MT#62571 remove redundant decls
Change-Id: I281b01aafb28db98daef56fcc302c12971cf0d60
6 months ago
Richard Fuchs
b39a43a576
MT#62571 split out TLS send code
Change-Id: Icb645aae9cab775b86fa50c7d832dd621af2a3a1
6 months ago
Richard Fuchs
0dbbc9467f
MT#55283 create mix output only after tag is known
Change-Id: I3051cdad8170e6513f13d8ca12f941ca17aeaef9
6 months ago
Richard Fuchs
872049b1da
MT#55283 fix possible off-by-one
Change-Id: Iadf2e9be28bb3a33043e3cd811daacd17579be3f
6 months ago
Richard Fuchs
d14db53420
MT#55283 use proper atomic ops
Change-Id: I7075100d7a7d1644fa74456e282cf9a414bb5324
6 months ago
Richard Fuchs
38d2f0761e
MT#62571 make sure mix output exists when needed
Change-Id: Ib5cac983fb7bda5d32023358719ffcda34cb2570
6 months ago
Richard Fuchs
f50c056199
MT#55283 fix double free
Change-Id: I7fdf3973b612e254b94beb3c12b1fb1490f823ef
6 months ago
Richard Fuchs
991a2c3bce
MT#55283 silence curl compiler warnings
Change-Id: Ie0e4e292f10cf69e871a150957c957095bc3545b
7 months ago
Richard Fuchs
d0a3bae13e
MT#62544 support in-memory recording
Change-Id: I17348db1d6dd53fa582aa5198877c0bb717b7049
8 months ago
Richard Fuchs
c156315afa
MT#62544 read from storage file without reopening
Change-Id: I07ca39540b0beb20237fd37ed9248bf1e176c676
8 months ago
Richard Fuchs
02253c6f05
MT#62544 add output-buffer option
Change-Id: Id823046b52ed7ebc8d19cc1d2d7b28eff0e0b6e0
8 months ago
Richard Fuchs
d84bd002cc
MT#62544 hand-roll avio output
Change-Id: I7c0d92ca1346399f8bda54c8af6ab5128df1850d
8 months ago
Richard Fuchs
0f654468a6
MT#62544 support notification command
Change-Id: Ibc70ed9ad8d5e9a605e50094dfe55e2545a5a339
8 months ago
Richard Fuchs
6652b5f392
MT#62544 split out notify retry logic
Change-Id: Id3c4779c0f049a74c6fa84d19b2110bf5373f6cb
8 months ago
Richard Fuchs
21672a296c
MT#62544 split out HTTP notification logic
Change-Id: I716754f2b72bced6033642bec87134f8b4e05651
8 months ago
Richard Fuchs
636c9f193f
MT#55283 add L16 and G726 support
Change-Id: Id12bd895cc8ce99d6988360bedaff75fb0b5a362
9 months ago
Richard Fuchs
8e5cd0aa9d
MT#55283 scale falloff
Change-Id: Iab3a3bff3f32561166f9c3076125103c29b5ab1f
9 months ago
Richard Fuchs
2cda41718a
MT#55283 convert now_double to int64_t
Change-Id: I305415a7edc5593d82acf3be1ce6820627c050de
9 months ago
Richard Fuchs
8994c59cc9
MT#55283 convert mix to int64_t
Change-Id: I8ee8f4de369d3dca49d7cafb7599fbadbf1fc3c9
9 months ago
Richard Fuchs
a7d71f09b8
MT#55283 convert notify to int64_t
Change-Id: Ia30d935966d2dd33902ffee8c46ddd184444f829
9 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
9 months ago
Richard Fuchs
75884b8d58
MT#55283 add dedicated g_tree_first wrapper
Change-Id: I4f7a366d37ab2c67d57f4217133725917b2e726b
9 months ago
Richard Fuchs
5460ca1f90
MT#55283 properly namespace g_tree helpers
Change-Id: Ie3097da52012a91b1e5d9d5c7dabe901ff2d9d72
9 months ago