Richard Fuchs
17cfd6182d
TT#111150 remove obsolete str_chunk_insert
...
This leads to unaligned memory access, so remove it.
Change-Id: I4d7c6d42a58f20a0d69fbb933cb925e3bcf0c695
3 years ago
Richard Fuchs
3775e08bea
TT#111150 don't pass null pointers to memchr or memcpy
...
If the length of the string is zero, the pointer to the buffer may be
null. ASAN flags these as invalid/undefined, so don't do that.
Change-Id: Ic55498465c53a78e1bd44c42d1a60f9bd3336473
3 years ago
Richard Fuchs
1105d2c1bc
MT#55283 fix AVFrame linesize after resampling
...
At least the recording daemon uses the linesize directly, so this needs
to be corrected after returning a frame from the resampler.
Change-Id: Ia940d8acbbee3fb2d6564474ecb93ae27422d8af
(cherry picked from commit 06efa83cb0 )
3 years ago
Richard Fuchs
1dfcdf7e0f
MT#55283 typo fix for I6aecff636efd420401856bb8110b3d784f989179
...
Change-Id: I3f73b9d3482f018d8ae9748d59a161b8067cc294
(cherry picked from commit dc395d5752 )
3 years ago
Richard Fuchs
cbfa8a5750
MT#55283 fix padding/SRTP order
...
The packet must be decrypted first before RTP padding can be considered,
as the padding count is part of the encrypted payload as well.
Change-Id: I6aecff636efd420401856bb8110b3d784f989179
(cherry picked from commit 9e09cf3c40 )
3 years ago
Richard Fuchs
dd3f77b0a5
trim trailing spaces from config values
...
closes #843
Change-Id: Icf59d5474edde8265f48b179488c11a367b57b8b
6 years ago
Richard Fuchs
eae7f3a327
TT#84360 add new option to split multi-line log messages
...
Change-Id: Ie29301dbf5f704c4f3c87431e3c63fac761696d5
6 years ago
Richard Fuchs
9d53e736b9
TT#84360 simplify log printing routine
...
* use auto cleanup buffer variable
* use g_vasprintf instead of libc vasprintf
* rename length variable for clarity
Change-Id: Ibebb8cccd51aa2f5cf3704b73bf82472b73d6f19
6 years ago
Richard Fuchs
b7d3db1a04
add alternative dummy codeclib_free
...
closes #1030
Change-Id: I360b74b8f3b0f1e8ef3ec26be3f4d94031b770f7
6 years ago
Stefan Mititelu
8ba5d162dd
Fix Valgrind "still reachable" for a few others
...
log, ice, media_player, jitter_buffer,
statistics, codeclib, call_interfaces
6 years ago
Richard Fuchs
7cbea58090
fix str_init_dup_str
...
closes #1021
Change-Id: I0354e4b357c159893a91ef9c96560f99a12778d2
6 years ago
Richard Fuchs
92ee64f760
TT#84350 fix make races
...
On some systems (e.g. Github Travis) make seems to have a problem with
its job control, resulting in a race condition where multiple make
instances try to build the same file at the same time. For most files
this is not a problem, but those auto-generated using an append
operation (>>) the output file can become garbled. Solve this by using
an atomic file creation method.
Change-Id: I1acb2387e2ca6ca30ddc3742143fd910032bfbb0
6 years ago
Stefan Mititelu
91d5580fa7
Fix config use_section
6 years ago
Richard Fuchs
3c3729f81c
TT#28300 fix missing strdup for multi homed interfaces
...
Change-Id: Ifaac7f85a5ab3515d95e72b6ee640c9e865cf219
6 years ago
Stefan Mititelu
831bb88e24
Fix Valgrind "still reachable" for if name and q
6 years ago
Stefan Mititelu
aa98d7f86c
Prevent glib CRITICAL errors for NULL pointers
6 years ago
Richard Fuchs
a4849f7ae6
TT#28300 eliminate need for if_a_global
...
Change-Id: I4b1c23d9a08b68bd722e14d7077198ddbaefc2e0
6 years ago
Richard Fuchs
08fc2eca34
TT#28300 free config strings with dupes between argv and file
...
Change-Id: Ied7b57d52c5f2537b4ebbac9ae24269c7aacf9ab
6 years ago
Richard Fuchs
3ca61f3baf
TT#28300 fix --config-section not being honoured
...
Change-Id: I7c674e72365602ac016e73c44502414af7c0d5c3
6 years ago
Richard Fuchs
39b04ece9d
TT#28300 use more auto cleanup variables in config_load
...
Change-Id: I613e1496fd46d33e95eaea14bd0b0ec8aece181c
6 years ago
Richard Fuchs
48b33bd3dc
TT#28300 move auto cleanup functions to lib files
...
Change-Id: Id1fff1523b2bfecf2a929c235fe1719bc18b97f6
6 years ago
Richard Fuchs
a1fb92353a
TT#28300 eliminate free_buf in favour of free_gbuf
...
Change-Id: I128265ff2783c94b897de8ea58b99811fbbe3607
6 years ago
Richard Fuchs
f4717cbe60
TT#28300 make sure log marker strings are always set
...
Change-Id: I3ba722b1430391c267966b095857bc86cb324e3f
6 years ago
Stefan Mititelu
de28a65934
Solve Vlagrind "definitely lost" memory leaks
6 years ago
Richard Fuchs
e516db2c30
fix warning about possible null string
...
closes #977
Change-Id: I4dec339289cb36402eef6bca39bb7af31ee17ef0
6 years ago
Richard Fuchs
dfc76d23b5
TT#78900 leave m=message connection details untouched
...
closes #959
Change-Id: Iaf01c87697ce46f507563ed1560e664b0ca33544
6 years ago
Richard Fuchs
35899ec27b
TT#78900 move codec_get_type into global context
...
Change-Id: I12868ecca93ff6e3ffe7129c42aec415ad5f58ec
6 years ago
Richard Fuchs
1055a1e71e
TT#79351 detect and fix payload type collisions
...
fixes #963
Change-Id: I938b1c4b9baed37caf718f7537bbb9c11f7b91e5
6 years ago
Richard Fuchs
d872802ba2
TT#76711 T.38 <> audio gateway
...
Change-Id: I4552e07eee632fa730745410b08c3bf70ab67ab2
6 years ago
Richard Fuchs
f6d134918a
TT#76711 fix str_sprintf va_args definition
...
Change-Id: I70d65bc519ca82fe4e464946beb154e0b5031c0d
6 years ago
Richard Fuchs
4eee9fbb8a
TT#76711 compile fix for with_transcoding=no
...
Change-Id: If91fb33f1744cd1b8122ffab20c3f9d32357ea91
6 years ago
Richard Fuchs
24cb202678
fix compilation under musl libc
...
closes #943
Change-Id: Ie192325e83ee129380ce1af2d235c0942a9b5afa
6 years ago
Richard Fuchs
51147da508
explicitly advertise annexb=no for G.729
...
closes #936
Change-Id: I087b0e82d49317906273bc5b7e2c488750702680
6 years ago
Guillem Jover
137c5df644
TT#71950 Fix typos
...
Change-Id: I79991a30bd8459485ea76dad541bda27daf9bfea
6 years ago
Sebastien Duthil
9e0480a996
Makefile: fix test files not cleaned
...
Why:
* When running make clean, the following files are not cleaned:
daemon/dtmf_rx_fillin-test.c
daemon/dtmf_rx_fillin-test
daemon/fix_frame_channel_layout-test.c
daemon/fix_frame_channel_layout-test
...
6 years ago
Richard Fuchs
7a28b972c0
TT#69700 don't compensate for TS gaps with a 1-second delay
...
fixes #861
Change-Id: Id7bf8ab28e92e6e509e47a65304058d77f4b261f
6 years ago
Richard Fuchs
228d822a71
TT#68100 set iLBC encoder and decoder options
...
required to distinguish between 20-ms and 30-ms modes, both for encoding
and decoding
add support for the iLBC mode= format parameter and dynamic mode
switching
closes #854
Change-Id: Icb6f0ec80df86d27681c689c168b24f163a2db06
6 years ago
Richard Fuchs
068bdb224f
TT#65052 support adding pause after DTMF PCM
...
Change-Id: I0332ac2488f9d2d12ce4d84c3e8b60caf35d9c6c
6 years ago
Richard Fuchs
c8338a4372
TT#64050 add `G729a` as an incorrect alternative to `G729`
...
Workaround for a bug in certain phones
Change-Id: I3203ce9d1992146c38b826dd96a962e6673915c7
7 years ago
Richard Fuchs
f960799cdd
TT#59703 add build test for dtmf_rx_fillin()
...
closes #787
Change-Id: I26ec7ebef74dad03192019b788e7c7ae17715783
7 years ago
Richard Fuchs
7803930d21
TT#59703 generalise build test make macros
...
also add a linker stage to the test build
Change-Id: Ief9dcabbb77dd682b6e7188c296f4713c1c234a3
7 years ago
Richard Fuchs
7ad9906178
TT#59650 fix DTMF related core dump when repacketising
...
Change-Id: I77b84c4b47ee41702b076a8a2f3259dc853654f1
7 years ago
Richard Fuchs
910c03fa62
TT#58660 PCM to RFC DTMF transcoding
...
Change-Id: Iea6a11c0caad1f5e7dcca966101e2969d3516b6f
7 years ago
Richard Fuchs
c0781e5193
TT#58659 RFC DTMF to PCM transcoding
...
Change-Id: I32fa876940131e3a18f611e2a518f7acd1327665
7 years ago
Richard Fuchs
ca30ecaa3d
correctly set frame_duration option for Opus
...
closes #779
Change-Id: I134734319b60d38b60f0e9e7779a5e5e433a79d8
7 years ago
Richard Fuchs
db507468de
TT#59100 support case insensitive codec names
...
closes #775
Change-Id: Id54309bf0920e731ad42fb09b078580090f6f82e
7 years ago
Richard Fuchs
5308208ee4
further rate limiting for log messages from libav
...
Change-Id: If19d736df87286559d4d3c0dfdda0a81d6c4d5cc
7 years ago
Richard Fuchs
af02779bc9
increase buffer size for cmsg
...
apparently needed for some kernel versions/configs?
fixes #770
Change-Id: Ib39854df47b8c9d5590590abd24d438b504c1ffd
7 years ago
Richard Fuchs
ac825cc47a
TT#56553 fix double G.722 sample rate issues
...
Fixes missing RTP TS rescaling
Fixes double clock rate adjustment
Fixes sequencer not releasing packets after seq reset
Fixes #748
Change-Id: Ic6021ab6fd781cd291c0aba3e03633f565908c29
7 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
...
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
7 years ago