Richard Fuchs
a46a49ba06
MT#65420 streamline encoder input fn
...
moved into encoder object
Change-Id: I45ec3ae2575977eae896492f4eb9baade80bcb89
1 week ago
Richard Fuchs
4fe4cacfed
MT#65420 add frame rescaler
...
Change-Id: Id3d583db9f6c575879a63ccf74d0cfc42bb83a9d
1 week ago
Richard Fuchs
a43de7c26c
MT#65420 decoder config via format_t
...
Change-Id: I3b956ed14ad1e3a1c73237fc3be403b78e221c92
1 week ago
Richard Fuchs
bf60ed4d41
MT#65420 support passing marker bit to decoders
...
Change-Id: Ifce02c1d4ad1b9e0150c6a987231582c75a78644
1 week ago
Richard Fuchs
fda6cbf8b1
MT#55283 fix compiler warnings
...
Change-Id: Idd4162cbcdddead57b730f773289786b7b4cf3fe
1 month ago
Richard Fuchs
e4ee1f8106
MT#55283 remove obsolete version tests
...
All targeted/supported distributions satisfy these conditions.
Change-Id: I992d354f1900ace1595a58ebb4e8f4b734f011aa
1 month ago
Richard Fuchs
29be0f9c5f
MT#55283 rework sequencer
...
Change-Id: Iecf42392eea0b1b4c7988e03f4ac99998480740e
1 month ago
Richard Fuchs
793fdf71d0
MT#55283 add snprintf wrapper
...
This returns the length of the resulting string regardless of whether it
was truncated or not
Change-Id: I72f8b6194483e60705dee5dd3b9b9a69611325e8
2 months ago
Richard Fuchs
01d3332ed8
MT#65413 split out cchain stuff
...
Change-Id: I608b3f3e6c96aa90d1fd568a66d1c69f151f563d
3 months ago
Richard Fuchs
92b0b1104d
MT#65413 move codec defs into separate files
...
Change-Id: Iabf8f8f4de3d45a92933c658084b3f9b72a9b414
3 months ago
Richard Fuchs
8172b83e23
MT#55283 protect against invalid metadata
...
Change-Id: I33e01587a90e517c92fb86519cd0ddf28d32f7ba
4 months ago
Richard Fuchs
421868df45
MT#55283 remove unused flag from metafile
...
also update "tag" to long as it should be
Change-Id: I8716c3f914af3705123efbdf886a3e18c171b5a6
4 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
4 months ago
Richard Fuchs
27a2d688ec
MT#55283 reformat makefiles
...
Change-Id: Ie58f4968a3440f675c281ee21a6e47044dd1646f
4 months ago
Richard Fuchs
8a904fe3d5
MT#55283 eliminate CUSTOM_POLLER
...
Change-Id: I5fa5f7e7b431ba0dc663407ed3acb94c2c7974b1
4 months ago
Richard Fuchs
d9b72e0134
MT#55283 eliminate duplicate compilation of .S
...
Change-Id: I93f1f3ff228e0310cf8e47fbb71a4a605e1e12b1
4 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
4 months ago
Richard Fuchs
0a932ff84f
MT#55283 store shared log levels in shared file
...
And rename .h to .inc
Change-Id: I0e539c52493e061b69c9f61c3992c829b0472ea7
4 months ago
Richard Fuchs
8e6b6feeb8
MT#55283 move shared build flags into shared file
...
Change-Id: Ifb7e8b0ce5f4532871bb37944001ebe25b94d71e
4 months ago
OrbisAI Security
ad6fbef99b
MT#55283 recording-daemon: add static_assert for payload_type bounds invariant
...
The bitmask `& 0x7f` on m_pt guarantees values 0-127, and the decoders
array has 128 entries, so out-of-bounds access is structurally impossible.
Add a compile-time static_assert documenting this invariant.
Closes #2107
Change-Id: I9debd6ddf4ac928ded71d2189775e10dee98e0de
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 months ago
Richard Fuchs
bac85c7d68
MT#64939 add S3/GCS storage info to DB
...
Change-Id: Ibe1757dc9818c8e61383718bf58914ba2403da62
5 months ago
Richard Fuchs
771d24bcd4
MT#64939 use object pool for SQL conns
...
Change-Id: I485159b5d9d959cf878cde752bdb0e4ff104a8ad
5 months ago
Richard Fuchs
39b3f2a709
MT#64939 untangle stmt pointer from connection
...
Change-Id: I501ed5b0ba7c16073b16cf611adcfa00e5920eb7
5 months ago
Richard Fuchs
ab6a5886f9
MT#64939 rework SQL connection into struct/object
...
Change-Id: I578c625e97e2c8628cce62b89604e5dd9026ccc2
5 months ago
Richard Fuchs
4326969440
MT#55283 update embedded DB schema
...
Change-Id: I804b55e1cad7fda9641c9f846da62d38914388ef
5 months ago
Richard Fuchs
959bd66a1d
MT#55283 switch from off_t to size_t
...
Change-Id: I38b7188e7662aff55eec8496c2fc5a56080d45b5
5 months ago
Tom Briden
92da915c5a
MT#55283 recording: align metafile cursor with parsed metadata bytes
...
since previous change relating to incomplete metafile's being read while
still being written, there are still circumstances that result in failure
This change tracks last_good_pos after each full section and advances
mf->pos once by parsed buffer prefix so the next read does not skip tail
bytes. The log lines have now been made dbg instead of warnings as they
should be handled correctly on subsequent reads of the file
Closes #2090
Change-Id: I88cf5a5d1702a818301cfc9448bbbc65ee0bf155
5 months ago
Richard Fuchs
cb3edfb996
MT#55283 modernise t_hash_table_iter
...
Change-Id: Ie7e6e794f6b2cd2905f154aecbc92c9681fd535a
7 months ago
Tom Briden
0bb5f4e972
MT#55283 recording: only update metafile offset after successfully parsing the change
...
when under load it's possible that a metafile gets updated by rtpengine
while it's still being read by the recording daemon. this can result
in a WARNING being logged and the loop breaking. That section ends up
unprocessed and any changes in it don't get applied.
This change only updates the offset after a successful section read.
Therefore, if a section is incomplete and the loop breaks, the next
inotify event will retry that incomplete section and it should succeed
Closes #2008
Change-Id: Ie48b66e7578597f5b75f957e3b5cc793628282dd
11 months ago
Richard Fuchs
2794c885d8
MT#63317 add inline q_free
...
and rename str_q_free to avoid clash
Change-Id: I0ff141c2cbe3284c4a3662a17bf201ee14c25fe8
1 year ago
Richard Fuchs
2aed497528
MT#55283 check for null return first
...
Don't crash on undecodable packets
Fixes #2004
Change-Id: I138d7c99aaedfea12adf520d0b29ffd70ebfbe69
1 year ago
Richard Fuchs
ff5abd4216
MT#55283 fix possible tcp-mixed segfault
...
The mix sink points into the tls_fwd object, so we must not free it
during operation, such as when a connection error occurs.
Separate out object creation and connection setup functions. Reset
object state at connection error, but don't free the object.
Make reconnect attempt part of checking the connection state.
Change-Id: Ib551532c47236afe5ec22711fcc161a8535338e4
1 year ago
Richard Fuchs
2f52fb2511
MT#63317 return RTP extensions from rtp_payload
...
Change-Id: If7451e3d32ba39cab40f6f09488cd75ccbefa1cc
1 year ago
Richard Fuchs
f4724b2eae
MT#63317 annotate rtp_padding
...
Change-Id: I47107efbc4114c1e40dd600607a5cc028a84855b
1 year ago
Richard Fuchs
3540a8334f
MT#63317 annotate rtp_payload
...
Change-Id: Ib8ba5e2002c75ec711c2f8e04b4e98b9a5fc8e0a
1 year ago
Richard Fuchs
0548168a0a
MT#55283 use explicit started flag
...
Metadata might be empty, so we can't rely on that being set as a start
trigger. Use an explicit one.
Follow-up-to: I3bb58dff
Change-Id: I95f02a1179940cedc3f96ce70557658c43e79bdc
1 year ago
Richard Fuchs
14acdb2fb2
MT#62571 don't open TCP when forwarding is not on
...
Change-Id: I04842b98675f5ce88e83a3b61ce29ab01c996169
1 year ago
Richard Fuchs
ceb0639342
MT#62571 wait with mix outputs until metadata
...
closes #2000
Change-Id: I3bb58dff51632e1314300b5c0dc5aa35dec2284e
1 year ago
Richard Fuchs
ed68ee3ca5
MT#61977 add GCS storage option
...
Change-Id: Idc97ea18bae6215379072bbec05a7b5afae73f00
1 year ago
Richard Fuchs
1546d8a23b
MT#61977 add oauth/JWT helpers
...
Change-Id: Ic8e54fb23f0f6403da638adaf5c3600f767caf90
1 year ago
Richard Fuchs
0d1eeddd14
MT#61977 add S3 storage option
...
Change-Id: Ifa84b06a88189440b8e16da7f079a1dbdaf87125
1 year ago
Richard Fuchs
c13c9166e2
MT#61977 add up/download capability to HTTP
...
Change-Id: I50334482c9316aed5315ad5814ae54081856ef90
1 year ago
Richard Fuchs
453ede0913
MT#61977 add http/curl wrappers
...
Change-Id: Iefa4f0acfadabae38ff1da4c20dda51718f9580f
1 year ago
Richard Fuchs
3670f75448
MT#61977 turn DB writing into a notification
...
Change-Id: I7a3d0ad048bc88aa638adfc618c60fe510f254c4
1 year ago
Richard Fuchs
c425a655db
MT#61977 add return value to execute_wrap
...
Change-Id: Ic4188e266f0df323f2a30d7323c7f9a86871b66a
1 year ago
Richard Fuchs
bc9fc1e443
MT#61977 add notification failure handling
...
Change-Id: Ide4d8429d57f53d0f759fa8a1255be9e06d94515
1 year ago
Richard Fuchs
b5019b8725
MT#61977 move notification types
...
Change-Id: I8fb1cc1caf7c5ae887f4c22745d66ef85a354b46
1 year ago
Richard Fuchs
d122b39313
MT#61977 introduce content_t
...
Refcounted object to contain media content
Change-Id: Idd9fe65051cf90930204bd83ee2125d1d4b79237
1 year ago
Richard Fuchs
d484e2d844
MT#61977 generalise notification mechanism
...
Change-Id: I8e72cb617f3da8586ca345d601b92b9bcadb29d7
1 year ago
Richard Fuchs
09c87d5464
MT#61977 move cleanup of notifiers
...
Destroy thread pool only after everything is finished using it
Change-Id: Iab8667b3a80aaf43581b19b03ff6191dfe69c8d6
1 year ago