Richard Fuchs
01d3332ed8
MT#65413 split out cchain stuff
...
Change-Id: I608b3f3e6c96aa90d1fd568a66d1c69f151f563d
5 months ago
Richard Fuchs
701d76fc0b
MT#65413 update dependencies
...
Change-Id: I85d1407fdb88b9b6b401a0544f95948b75cf4a7c
5 months ago
Richard Fuchs
92b0b1104d
MT#65413 move codec defs into separate files
...
Change-Id: Iabf8f8f4de3d45a92933c658084b3f9b72a9b414
5 months ago
Richard Fuchs
dfcb9a8322
MT#55283 fix ffmpeg CNG usage
...
ffmpeg's CNG expects a fixed frame size, or at least a maximum frame
size, as it allocates internal buffers on construction based on that
frame size. Calling the decoder with a larger frame size therefore leads
to an internal buffer overflow. Calling it with a smaller frame size is
fine.
Retain the simple one-shot CNG for the most common case (frame size
smaller than the max). For larger frames, call the CNG in a loop and
manually construct a return frame.
Change-Id: I0ebe0b7a9ad8a08bbabd0d8dea264b08cb44feee
5 months ago
Richard Fuchs
076e22509e
MT#55283 update to new CC ABI
...
Change-Id: Iab7a930890d9b75d1aa08c2c5f122fc0e2180ebb
6 months ago
Richard Fuchs
7b41827160
MT#55283 allow for non-ngcp named build profiles
...
Change-Id: I56d049fc07a6ec400092bb3f8aa6cfcdefca3dc8
6 months ago
Richard Fuchs
31375ca349
MT#55283 fix bencode buffer alignment
...
Make sure data is 64-bit aligned. Fixes alignment issues on certain
32-bit archs (armhf).
Change-Id: I66c1fc20e97c62d3d5e266e874812aed74d295ed
6 months ago
Richard Fuchs
0e5f2d3048
MT#55283 prevent overflow of async queue
...
Change-Id: I0a67562b8b27b04f6e584ef0412deb35b664ef1f
6 months ago
Richard Fuchs
887e8bc038
MT#55283 rename build test results from .h
...
Fixes duplicate compilation because all targets depend on lib/*.h
Change-Id: Iccf2bfb2467ed4ea82e2471ac9ee7c3782128551
6 months ago
Richard Fuchs
61dbd3cc18
MT#55283 eliminate duplicate compilation of daemon
...
Change-Id: I80c89b1fb8d3eaa14f41a53ff59b75d79492835a
6 months ago
Richard Fuchs
b066877d7e
MT#55283 eliminate duplicate compilation of l/*c
...
Change-Id: I34685446d44bbc2646ad5d512c23b49b3d939e1c
6 months ago
Richard Fuchs
8a904fe3d5
MT#55283 eliminate CUSTOM_POLLER
...
Change-Id: I5fa5f7e7b431ba0dc663407ed3acb94c2c7974b1
6 months ago
Richard Fuchs
d9b72e0134
MT#55283 eliminate duplicate compilation of .S
...
Change-Id: I93f1f3ff228e0310cf8e47fbb71a4a605e1e12b1
6 months ago
Richard Fuchs
4cf920c19d
MT#55283 enable separate compilation of lib/*
...
Change-Id: Ib9b9f7d2a55920f99a5224c86a7e563d76a316e7
6 months ago
Richard Fuchs
c05ba00dd3
MT#55283 clean up logging system
...
Resolve file name conflicts between different components
Ensure shared log levels are identical across components
Encapsulates lib/*
Change-Id: If848d6fa0e4cd8eac88ce9e63ee77fc5a7a481fd
6 months ago
Richard Fuchs
0a932ff84f
MT#55283 store shared log levels in shared file
...
And rename .h to .inc
Change-Id: I0e539c52493e061b69c9f61c3992c829b0472ea7
6 months ago
Richard Fuchs
8e6b6feeb8
MT#55283 move shared build flags into shared file
...
Change-Id: Ifb7e8b0ce5f4532871bb37944001ebe25b94d71e
6 months ago
Richard Fuchs
5403ed616a
MT#55283 add ring buffers
...
Change-Id: I1aaa10131f3f000815506b46cc3c2ed9924e6430
7 months ago
Richard Fuchs
a190d56a53
MT#55283 save TOS in socket struct
...
Change-Id: Id9ad98ac39b2ba043f5c4465f04f42c98f89e3a7
7 months ago
Richard Fuchs
0faa777e17
MT#55283 add bufferpool stats output
...
Change-Id: I1bae3b0d933948a8a22c41860d9c7508484ef17e
7 months ago
Orgad Shaneh
b87ae58036
MT#55283 preserve supplemental codecs in publish mode
...
Add RED (RFC 2198) codec definition to codeclib as a supplemental codec.
Modify codec_store_accept_one() to preserve supplemental codecs whose
clock rate matches the accepted primary codec. Skip supplemental codecs
in codec_store_is_full_answer() since they are optional in SDP answers.
Closes #2100
Change-Id: Ie81f45091c5d3dc55e20896d5a6e7a8361fda2f4
7 months ago
Richard Fuchs
a3cf8aea9b
MT#55283 add G.726 codec type
...
The ffmpeg G.726 encoder operates on fixed frame sizes which don't
reflect the expected frame size on the wire. Add an encoder init wrapper
to set the correct frame size.
Change-Id: I4d635e52b6c3bd4f924d1b295ec1bf4c56ef22bc
7 months ago
Richard Fuchs
b0738107ec
MT#55283 extend packetizer input
...
In case of bitstream style codecs which still use an encoder which
operates on fixed frame sizes (e.g. G.726), passing the maximum allowed
frame/packet size to the packetizer is not enough. Instead it needs to
know separately how much data it is expected to return. Add another
argument to pass this information.
This also fixes the incorrect math to adjust the frame duration in case
of chunked output.
Change-Id: I1d57c684ecea055059481de0220f6b6001088605
7 months ago
Richard Fuchs
cad798ce75
MT#55283 fix rebase fail
...
Change-Id: I89baa84ea7c0fc990a1131aa88aa532dbd2d467a
7 months ago
Richard Fuchs
175f1dfe34
MT#55283 remove stray log message
...
Change-Id: Iaf67d350b44bf48de096129e797c8d07b027b4a5
7 months ago
Richard Fuchs
c200aa4429
MT#64939 also disable VERIFYHOST
...
Change-Id: I21cfe76630fcc4850ddf8a4a12a24cf028427eab
7 months ago
Richard Fuchs
f7b5a4de5b
MT#55283 update signature of dict_get_str
...
Change-Id: Idf333d65436998777b1e9247304e450f3740672f
8 months ago
Richard Fuchs
88f0483c4e
MT#55283 revamp calls_merge once again
...
Maybe this makes sense now
Change-Id: I94c668969aaffd3582d94f8872106f073bb939ba
8 months ago
Richard Fuchs
cf38ee00af
MT#55283 change obj_release to inline
...
to avoid compiler warnings
Change-Id: I0cecb3bb03297616ddd4f376abf68dcceb1c8a99
8 months ago
Richard Fuchs
a75430f3be
MT#55283 add "self" container alias
...
Useful in situation where a pointer is needed, e.g. in another container
Change-Id: I150f4957f128344fad4d832fa95e2554dcfb9cf3
8 months ago
Richard Fuchs
b1f3147d26
MT#55283 rename global variable
...
to avoid name conflict
Change-Id: I997872781c857a80e52b51b8db804229f28ce30a
8 months ago
Richard Fuchs
6a7cba0aa2
MT#55283 simplify macro
...
Change-Id: I6c603930562944040b237612fb21b9a888f63183
9 months ago
Richard Fuchs
b9c24cbf99
MT#55283 rename macro
...
Change-Id: I7ee697e3fb63226a304a1150c51ef2603294be80
9 months ago
Richard Fuchs
2ab345ccd5
MT#55283 move call components into arena
...
Change-Id: I1b335fb8c13a3cddc38af3abec7a075002c5a8c1
9 months ago
Richard Fuchs
f307c32c80
MT#55283 fix buffer merge logic
...
Oof.
Change-Id: Ibc3ca28bc6c04e63b27466e62b197f6a601051f9
9 months ago
Richard Fuchs
1f7d9e5bc9
MT#55283 improvements for clang
...
Change-Id: I7b817c94f34333e1e95199dce9619a1570de7964
9 months ago
Richard Fuchs
cb3edfb996
MT#55283 modernise t_hash_table_iter
...
Change-Id: Ie7e6e794f6b2cd2905f154aecbc92c9681fd535a
9 months ago
Richard Fuchs
4ea7873ca7
MT#55283 update memory arena logic
...
Use a pointer to the arena plus a comparison test to determine whether
to ref or to dup the string, instead of a function pointer. The function
pointer alone wasn't enough as there can be multiple arenas.
Change-Id: Icd317e524fc2e5842f90d172ef7089d2cb0a5a28
9 months ago
Richard Fuchs
a6f2039bbb
MT#55283 add more iqueue methods
...
Change-Id: I3ed1713ff85b16ee89e618e782349a2b1a014e59
10 months ago
Tom Briden
4c8e2262be
MT#55283 streambuf: check pointer isn't NULL before trying to free it
...
Closes #2065
Change-Id: I091aac6e81dc497668671427267d0ef2321ae8af
10 months ago
Richard Fuchs
d3ef4edfcf
MT#55283 allow RTCP APP for peer verification
...
Closes #2057
Change-Id: I069d12d8c7fd7ec36b77f1394fd9e8b928cdfd46
10 months ago
Alexander Bakker
694a3b0579
MT#55283 Increase input buffer size for getaddrinfo to 256
...
Previously, rtpengine would refuse to resolve any hostnames longer than
64 characters.
Closes #2061
Change-Id: I5fe6c05f59a449f6e3b6b0f403d438626905101b
10 months ago
Richard Fuchs
b1ac55c844
MT#55283 add str_dup_dup helper function
...
Change-Id: Ieacb147e3a98b5f31a8e45fb709df73636347cc0
10 months ago
Richard Fuchs
690d601269
MT#55283 const qualifier
...
Change-Id: Ia042e3b8fb09fd832fef60a34c380e3b156aca56
10 months ago
Richard Fuchs
72ab151266
MT#55283 move uring conditions
...
Change-Id: If472d4c352d3e06faf87ab1f857e2fccb1c0d02d
10 months ago
Richard Fuchs
91dde0ba03
MT#55283 use struct init
...
Change-Id: I45ad350d461ee0f54279d33bc565c6119f5fe391
10 months ago
Richard Fuchs
900dfd5f86
MT#55283 signed refcount for consistency
...
Change-Id: I56008b19b60988127634c70e8703297f6059b93c
11 months ago
Richard Fuchs
26be887cae
MT#55283 generalise obj allocators
...
Change-Id: Ic927bcac573c5b7c0343c77bebdc3c524f2fca64
11 months ago
Richard Fuchs
422db0f846
MT#55283 handle async errors
...
Change-Id: I021567bffc75033ae57ea00b5e4956b5e4b28622
11 months ago
Richard Fuchs
a766c0a811
MT#55283 use nonblocking netlink recv
...
Probably works better for #2041
Change-Id: I0bb7a89817e10e009d911bef7d6dff80e74325cb
11 months ago