Richard Fuchs
98c088fced
MT#55283 silence asan warning
Change-Id: I131e51fc826a52fb571e78f09aea3aa99e9e7e1f
4 months ago
Richard Fuchs
c0b245b979
MT#55283 support SO_TIMESTAMP_OLD
Supports obscure situations where the old 32-bit timestamp is returned
Change-Id: I8423cd04baa9fd49e254d88d17e3e609ee5a20bb
4 months ago
Richard Fuchs
649e225bc9
MT#55283 fix alloc alignment
We need at least 64 bits for atomic64
Change-Id: I08724d204f2a1603088c8737ca096a4b64314f6b
4 months ago
Richard Fuchs
675eb7bea6
MT#55283 fix int size issues
Change-Id: Ibd7bdea16ae57a4a86076a05b22bb3ca64be8ce1
4 months ago
Richard Fuchs
646850c6d6
MT#55283 remove duplicate make dep
Change-Id: I7d8c4d3d256ba7a834dfd96f13e7e05a72100b6a
4 months ago
Richard Fuchs
262d1f7b5e
MT#63317 fix RTP extension parsing
Change-Id: Ie62fa4ed2dc16d42d579c34b1fe541955759dfed
5 months ago
Richard Fuchs
70be9e6ca3
MT#55283 use gcc for .S files
Change-Id: I67375e10356c131fc49d01f74a0aa9c93adf9ae5
4 months ago
Richard Fuchs
ffacde5748
MT#55283 trigger RTCP send from both send funcs
Reverses the side effect of I225b43dff
Restores consistency and fixes tests and very slow systems
Change-Id: Ib4285e7aae95cd58eccd1d3c4f84e5786b4b0810
4 months ago
Richard Fuchs
25ef320e17
MT#55283 update YCM conf
Change-Id: Iac6a1d5cfe4d78533183d94c82beb58abdb72f44
4 months ago
John Burke
afce798034
MT#55283 early exit heuristic endpoint learning if endpoint matches SDP
Closes #1987
Change-Id: I906a8b1538d75356ea1b0f43d9b0ff5b37dbda52
4 months ago
Richard Fuchs
4cfaf1a3cf
MT#63151 remove duplication of files during make
Change-Id: I67f45a52660b089748c4f6f76c564bbc97fa1899
5 months ago
Richard Fuchs
d276ba4e6b
MT#63151 move overridable headers
Change-Id: Ic71e360499165ad11093fbf852ba1c57a709a47e
5 months ago
Richard Fuchs
e600a58502
MT#63151 make poller.h override more specific
Change-Id: I6ec6fdde8305615dc999021568a1277f22d3e075
5 months ago
Richard Fuchs
eda9cc5ded
MT#63151 move asan flags
Change-Id: I0c4d23a0a5c45e4a9011a697f9cff09ff513bb17
5 months ago
Richard Fuchs
35d3110612
MT#55283 add alternative opus output
Different encoding on certain platforms (armel)
Change-Id: I481d7aafcdba078bb317a6c6bab1f0b88b37a7b7
5 months ago
Orgad Shaneh
80240f62ef
MT#55283 fix recording auto-start when paused on new offer
When a new offer is received while recording is in paused mode,
recording should remain paused until explicitly re-enabled.
The detect_setup_recording function was starting recording when
record_call flags were set, ignoring the current pause state.
🤖 Generated with [Claude Code](https://claude.ai/code )
Closes #1983
Change-Id: I49daf03532b74ec942550b184a7e7d2828e70f81
Co-Authored-By: Claude <noreply@anthropic.com>
5 months ago
Orgad Shaneh
2d5565738f
MT#55283 add timestamp markers to recording metadata for pause/resume events
Write human-readable timestamp markers to the metadata file whenever
recording is paused or resumed via control protocol commands.
Include ISO-format timestamps with millisecond precision that aid in
tracking changes in recording state.
Example metadata output:
Recording paused at: 2025-07-29T15:30:45 (1234567.890 ms)
Recording resumed at: 2025-07-29T15:31:20 (1234598.123 ms)
🤖 Generated with [Claude Code](https://claude.ai/code )
Closes #1982
Change-Id: Id92c14900a29f53ba0ee00b3d0f53132bb11cff7
Co-Authored-By: Claude <noreply@anthropic.com>
5 months ago
Orgad Shaneh
fa7b4667d0
MT#55283 respect pause recording command
The command was accepted, but recording continued as usual.
Closes #1981
Change-Id: I994a9ebf75bc2d0d0ce5c601c29843c4bc0e9d0d
5 months ago
wangduanduan
ec6d07d7c5
MT#55283 dtls: add handshake type log
closes #1980
Change-Id: I4336ab567eaad77f6db9f9e32969808880d16494
5 months ago
Richard Fuchs
16ab6ffa1f
MT#55283 extend test
Change-Id: I12d02233cb0190578be865d22a7f7afee52f0c5d
5 months ago
Richard Fuchs
a9d48c0b48
MT#55283 update codec getter for jitter buffer
closes #1978
Change-Id: Id7e7e0aba9020f212b275cef028526bf0403246a
5 months ago
Richard Fuchs
8f92c6e5c2
MT#55283 update test
Change-Id: I2e06f2338cb7d1f9f32d2497bdf01b1be3048714
5 months ago
Richard Fuchs
ab48284de5
MT#55283 allow null logical_intf
closes #1977
Change-Id: Ib8bd32d24cc4c72a8fe7c6133bbfddc76666e6df
5 months ago
Richard Fuchs
b6bd9804a0
MT#55283 upgrade xmlrpc_callback to string
Simply take the xmlrpc-callback address as string and don't try to parse
it out. Store it in the call object as string as well.
Obsolete `created_from_addr`. The string form `created_from` is all we
need.
Change `created_from` to `str` as well.
Change-Id: Ib67b57b1d2d474d7b033f56ef8be59f71e44641b
5 months ago
Richard Fuchs
7fbc61253d
MT#55283 add keyspace notification test
Change-Id: I39afe810d2f269550c565197c7ea824d287ecd25
5 months ago
Richard Fuchs
052f16da56
MT#55283 allow allocation of out-of-pool ports
Different instances of rtpengine may be configured with different port
ranges. If HA requests usage of a port not part of our pool, allow it.
Change-Id: Ib4ace6c4facac35ea44948720fa46bcbdaf441d3
5 months ago
Richard Fuchs
6a72ce30db
MT#55283 move Redis macros
These are private to redis.c
Change-Id: I19da8eec6cb5625375906d1eae047b43850dd591
5 months ago
Richard Fuchs
116fc223d3
MT#55283 move subscribe-keyspace option
Put it together with the other Redis options for consistency.
Change-Id: Ic83da4f14717a302be94f23e45fa0a4bab9b986d
5 months ago
Richard Fuchs
98a78a335e
MT#55283 update condition to test for socket
Change-Id: I0075eea1bbcb43dda86a38d5e328a5b2ec503653
5 months ago
Richard Fuchs
589bf0b22d
MT#55283 split up reserve_port
Use different function to get a port from a pool and return it, and
reserve a port in a pool permanently during startup.
Change-Id: I030dc2ebbe30c9b47252669717f235177f15219d
5 months ago
Richard Fuchs
215500bf4a
MT#55283 add port_is_in_range helper
Change-Id: I65ff5f7efdb67ce4db447d3c4cfdc4ccd3613143
5 months ago
Richard Fuchs
3118b1e258
MT#55283 update function to bool
Change-Id: I290fc3b803db4ac0b5d95ef9609c158dff303af5
5 months ago
Richard Fuchs
8f13d83d2b
MT#55283 fix num_ports not being set
Change-Id: I98b11a011063ae334118d977adc7b06fb9bff9c3
5 months ago
Richard Fuchs
ffc539c0d8
MT#55283 locking updates
Protect selected_sfd with in_lock.
Protect RTCP sending with in_lock and out_lock as appropriate.
Has the odd side effect of RTCP reports expected in tests to be sent one
packet later than before.
Closes #1966
Probably fixes #1927
Change-Id: I225b43dff8e8fbb938d3be6aad50249997615d77
5 months ago
Richard Fuchs
1b077c300a
MT#55283 use auto lock in a few more places
Change-Id: Ibf34fa6e8cdcbf122e548475ba086101a6757a66
5 months ago
Richard Fuchs
7ac4c3eb1d
MT#55283 whitespace fixes
Change-Id: Iebf2e20d6cbb6633904111af4a9958e2ecaba34d
5 months ago
wangduanduan
16ccd39a2e
MT#55283 log: dtls log add src ip
closes #1975
Change-Id: Iff8ee0231be3d411249448582806cb8cf0e1ac86
5 months ago
Richard Fuchs
799830902e
MT#55283 ignore G.729 fmtp
closes #1971
Change-Id: Ide2577b76de1f26844a9c73e169bcad96ee2a90e
5 months ago
Richard Fuchs
9c83de9ce6
MT#55283 update format_parse to bool
Change-Id: If0f8740afa5f159e1649db023a2c340093f3d145
5 months ago
Richard Fuchs
e2e5e22d04
MT#55283 add tests for Ib118cd2ce/Ib36b36bb
Change-Id: I5e45e473ea1d747d54477fb12f0d8fb7f4133c6f
5 months ago
Richard Fuchs
daa769fea5
MT#55283 distinguish player cache ptimes
Add the ptime into the hash function so that cached player using
different ptimes use distinct entries.
Closes #1963
Change-Id: Ib118cd2ce14525d524a2d63c0506af8ae8ae929f
5 months ago
Richard Fuchs
3ca99417f1
MT#55283 add ptime to logging in a few places
Change-Id: I38180c44d4afb690d7dadb3710516b16b983f600
5 months ago
Richard Fuchs
fa8123e1c2
MT#55283 explicitly return PTS/duration
... from packetizer function instead of putting it into the AVPacket.
Remove AVPacket from callback function arguments.
Fix up PTS/duration adjustments where they were missing.
Closes #1963
Change-Id: Ib36b36bb6648b0579dd83155c7217317dda29cc3
5 months ago
Richard Fuchs
7b7580dcbf
MT#55283 fix typo
Change-Id: I08ec1c2958662c7d78c659e59c6e777119e09d5a
5 months ago
Richard Fuchs
62b216646b
MT#55283 test for Ia69cbb69a82
Change-Id: Idff08b9935828e9bb1f45d1ebe76cbde0c019b18
5 months ago
Richard Fuchs
fe39a7927b
MT#55283 fix clashing PT numbers
closes #1960
Change-Id: Ia69cbb69a826141b85a65cd7487a655e047e88d2
5 months ago
wangduanduan
7b5235b4bf
MT#55283 test: add test for unknown fmtp
closes #1968
Change-Id: I71d2f7947f0495ea08d000568c40915e86d034d8
5 months ago
Aki Huolman
2abda66667
MT#55283 Add documentation for MySQL database schema
closes #1967
Change-Id: I0e839ce0dd6c2e13f6f35d1ec006d1c1e904b40e
5 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
5 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
5 months ago