Richard Fuchs
5838141e80
TT#89352 extend str_to_* to long long width
...
Change-Id: Ie4c94640f7b59fa6b6cbed1082a6be6c3a1490e5
4 years ago
Richard Fuchs
94a5feea7d
TT#111150 fix coverity warnings
...
Change-Id: I330d5137d38017641bdda71e8bd014c358c432fb
4 years ago
Richard Fuchs
fc0bbf1079
TT#91151 switch str_init_dup to g_malloc
...
This makes it possible to use buffers returned by GString
interchangably.
Change-Id: If15a5c0be2743dde7230b2f3d3ca6780d633622b
4 years ago
Richard Fuchs
1d387b98ef
TT#112700 rework codec offer/answer routine
...
Complete overhaul of the codec handling code:
*) obsolete flags `asymmetric codecs`, `symmetric codecs`, `reorder
codecs`
*) support proper codec offer/answer
*) split codec manipulation (strip/offer/accept/etc) into separate
functions for clarity and better code maintenance
*) fully update codec handlers in both directions after an answer
*) explicit allocation and handling of codecs and payload types in a
codec_store object
*) improve codec matchup logic during answer
*) more explicit handling of supplemental codecs (CN/DTMF)
*) remove now obsolete hacks for handling certain use cases
Change-Id: I996705ba8fe339524c2f70e6bb0fd854f9a1f4fb
4 years ago
Richard Fuchs
24079deb10
TT#14008 add explicit type to STR*INIT macros
...
This allows these macros to be used in regular assignments and not just
initialisers.
Change-Id: I66ed96192c16ef777959fd9e40302db2786b6545
4 years ago
Richard Fuchs
3778baee1b
TT#14008 use const char in str_init_dup
...
Change-Id: I57246916f472d4d2f61611c401e2324b97329bb6
4 years ago
Richard Fuchs
d5d0a3a994
TT#111150 convert str.len to size_t
...
This makes the type in line with string(3) functions and eliminates some
compiler warnings.
Also update the related bencode data type.
Change-Id: I7ef4024f4b5a0f737b3dbe03bcd078032395bce6
4 years ago
Richard Fuchs
b9d68914e6
TT#111150 remove obsolete str_chunk_insert
...
This leads to unaligned memory access, so remove it.
Change-Id: I4d7c6d42a58f20a0d69fbb933cb925e3bcf0c695
4 years ago
Richard Fuchs
055b745c2f
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
4 years ago
Richard Fuchs
7cbea58090
fix str_init_dup_str
...
closes #1021
Change-Id: I0354e4b357c159893a91ef9c96560f99a12778d2
5 years ago
Richard Fuchs
3c3729f81c
TT#28300 fix missing strdup for multi homed interfaces
...
Change-Id: Ifaac7f85a5ab3515d95e72b6ee640c9e865cf219
5 years ago
Stefan Mititelu
831bb88e24
Fix Valgrind "still reachable" for if name and q
5 years ago
Richard Fuchs
a4849f7ae6
TT#28300 eliminate need for if_a_global
...
Change-Id: I4b1c23d9a08b68bd722e14d7077198ddbaefc2e0
5 years ago
Richard Fuchs
f6d134918a
TT#76711 fix str_sprintf va_args definition
...
Change-Id: I70d65bc519ca82fe4e464946beb154e0b5031c0d
5 years ago
Richard Fuchs
db507468de
TT#59100 support case insensitive codec names
...
closes #775
Change-Id: Id54309bf0920e731ad42fb09b078580090f6f82e
6 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
...
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
6 years ago
Richard Fuchs
744d6a46ff
add codec-set option
...
Codecs that were implicitly accepted for transcoding had no option to
set their parameters (such as bitrate) for encoding. The codec-set
option adds this.
fixes #681
Change-Id: Ib238eb73a507af168c366579abc80da07250fe88
6 years ago
Richard Fuchs
01c5e5075d
TT#45472 use memmem() for str_str()
...
also fixes an off-by-one bug of the original str_str()
Change-Id: Ic781f963eea90e3d29ed856c8b00f150eedb139b
7 years ago
Richard Fuchs
895fa96054
TT#35456 implement RFC 4867
...
Fixes AMR transcoding. Some features yet unsupported.
Fixes #498
Change-Id: I1075a539a7a7dab9106df9ef49b8bda2484b97ec
7 years ago
Richard Fuchs
092f8da3c6
use str_token_sep for SDP token extraction
...
closes #472
Change-Id: I10dc4aa8baadfc4c3d5ef5514e47fecc4bf2f10e
7 years ago
Richard Fuchs
7986ca0860
TT#30900 support specifying codec parameters for transcoding
...
Change-Id: Ifac093cfba74a7cfdf1ba22209d608e04fed8c10
7 years ago
Richard Fuchs
1aa9944fe4
TT#27550 implement interface round-robin selection
...
Change-Id: Id5cf290cc9d044716b5f55cf416dc40b87f23f24
7 years ago
Richard Fuchs
61d828a48f
change str_chr_str() semantics
...
Change-Id: I0fb541215a1bb1a248693a6258e953827258b7ec
7 years ago
Richard Fuchs
5bcbf27fe1
fix metadata DB insert without trailing pipe character
...
fixes #374
Change-Id: Ibfe89b7804183ef04eba39d29e01b70160f7c264
8 years ago
Michael Prokop
6932f22c66
TT#22411 Fix spelling mistakes/typos
...
s/paramter/parameter/
s/fowarding/forwarding/
s/readabilty/readability/
s/recieving/receiving/
s/genrated/generated/
s/parametes/parameters/
s/existance/existence/
s/shouldnt/shouldn't/
s/seperate/separate/
s/neccessary/necessary/
s/occurence/occurrence/
s/timout/timeout/
s/ouput/output/
Change-Id: I4403eb54130f3c114d7881054abfdfc8223b5bf2
8 years ago
Richard Fuchs
e7d75bd275
TT#19350 add option to manage iptables rules directly
...
Change-Id: I8e2b47bf34206ed5cc369649bf8ef875ac271169
8 years ago
Richard Fuchs
d8cc8caf9c
combine two mallocs into one for redis restore
...
Change-Id: I6a5c26b6e0c856b1930273c37b35020dd48c6505
8 years ago
Richard Fuchs
f77726caa8
update redis one-key concept
...
Change-Id: Ifc164f5737decefef2463af57d75f717b97e169b
8 years ago
Richard Fuchs
d7fa0689f9
TT#5566 rudimentary wav file output
...
Change-Id: Icdc97a9dc849bba6ba6add12d0bdd17f8b7712cd
9 years ago