Richard Fuchs
13d51f0df0
add extra thread allowance for blocking CLI code
make sure not to run with a single thread if only one CPU core is
present
proper fix pending: convert CLI code to non-blocking, muxed, using
streambuf interface
closes #399
Change-Id: I09a6d758c668fe6a2bbe6735e3299d3c8cb1ba58
8 years ago
Richard Fuchs
00cc28dff4
TT#22660 don't zero out SDP origin on zero connection address
Change-Id: Idc68132a7ae23a6273464927ecf27237cdc9d6cf
8 years ago
Richard Fuchs
6abe388621
fix compile warning
Change-Id: I6d93986eca7b50a8ae5ddf075c37123f8ebcdcde
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
Claudiu Boriga
cf15275f30
add stop recording comand to ng interface
8 years ago
Richard Fuchs
e7d75bd275
TT#19350 add option to manage iptables rules directly
Change-Id: I8e2b47bf34206ed5cc369649bf8ef875ac271169
8 years ago
Richard Fuchs
dd338975f6
drop log level for messages about unknown RTP/RTCP packets
closes #395
Change-Id: I8a3c9c1d06ce04a4bb2280e16e2d170cd27ac65b
8 years ago
Claudiu Boriga
b317acdbde
don't log corrupted cdr for foreign calls
8 years ago
Richard Fuchs
1206e26f76
add missing lock for SSRC hash dump
Change-Id: I165ceae3f6d5bada4ec0390c440f84bcde542952
8 years ago
Claudiu Boriga
b3ce08a1ea
Count multipexed packets in statistics. Don't count errounously when no stream is found
fixes #387
8 years ago
Claudiu Boriga
67de59ada4
check that redisContext is not NULL before using it
8 years ago
Lucian Balaceanu
63bdd61565
on startup, also accept hostname:port params for endpoints
9 years ago
Richard Fuchs
bb50729806
fix parsing of IPv6 address in legacy UDP protocol
Change-Id: Ida602ceddac51b8045b0beee59015facd7b1ee5d
9 years ago
Claudiu Boriga
9f2286d7bb
fix bug that makes rtpengine crash when graphite server is down
replaced select with poll because when a large number of file
descriptors are open segfaults might happen
9 years ago
Richard Fuchs
983c4afb01
fix correct use of CFLAGS over LDFLAGS
Change-Id: Ibea683fea6f16cc3a944c99de4db44051571fcba
9 years ago
Richard Fuchs
4310e067a4
support pkg-config for xmlrpc-c
fixes #373
Change-Id: I063c3f6f4f1ea4ee08fa668f006931f951dd3f95
9 years ago
Richard Fuchs
a9d55c6fe7
always decrypt RTCP for SRTP<>SRTP session for stats purposes
fixes #366
Change-Id: Ie99766a3561d3adfcb06d75c465a9aa02c16b2ab
9 years ago
Richard Fuchs
f979159d0e
fix segfault when no SSRC pointer is present
fixes #370
Change-Id: If1e89b21a183acd79a6c84aee6e470849022e37c
9 years ago
Changli Gao
6824865c10
DTLS: Fix potential double BIO_free
We should set init to 1 after calling SSL_set_bio(), otherwise if
we fail to call EC_KEY_new_by_curve_name(), we will free r_bio and
w_bio twice: one with BIO_free(), and the other with SSL_free().
9 years ago
Richard Fuchs
3f12517510
report last error when port could not be opened
Change-Id: I397101dc64c4e2f706fd604e524b27c86e51a6a5
9 years ago
Richard Fuchs
8f55dd17f1
fix pushing wrong SSRC to kernel module
fixes #360
Change-Id: I6051bc3e81b06e89e6b8d74dbff94363716369fe
9 years ago
Richard Fuchs
2a03c008ac
clean up code artifacts
closes #314
Change-Id: Ie6762654adc67a2cc2fd34c0bdda7a514928d389
9 years ago
Richard Fuchs
23bc99ed81
TT#12800 consider RTCP XR reports for MOS calculations and stats
Change-Id: I18f6ff92bab432caf446c59395ab253a305378f4
9 years ago
Richard Fuchs
ab0dba7d14
TT#12800 support custom monologue labels
Change-Id: I55b2db88307088c4d5e0161eae6e3aa0b5d1b053
9 years ago
Richard Fuchs
2cf93904df
TT#12800 restore SSRC table from redis
Change-Id: I9c6a5a33ae14e803e5badade8307d4f53f7a04a2
9 years ago
Richard Fuchs
9108b14b80
TT#12800 records stats average not just for MOS but all values
Change-Id: I1c641a654623022df617da98c4a53ed34decb211
9 years ago
Richard Fuchs
4ad693a063
TT#12800 report MOS stats back to proxy via NG protocol
Change-Id: Ib0cc5b39a5f50d68a8013b738ac7d87b32069928
9 years ago
Richard Fuchs
5c84a6f61c
TT#12800 limit size of SSRC hash table
Change-Id: I51ba759d1f328f08b03e14a2f8545453f6a8ade8
9 years ago
Richard Fuchs
11dac7b28f
TT#12800 add MOS statistics to final log output
also converts call->created to a timeval
Change-Id: Idb71ada22a2d04637670b7515e54f2994f8d4c93
9 years ago
Richard Fuchs
868c3b64fe
TT#12800 add ssrc handling into packet_stream struct
Change-Id: I7da97a6435854a846d2782448b32c69327756ccf
9 years ago
Richard Fuchs
84e76e7cba
TT#12800 calculate MOS values from RTCP RR
Change-Id: Ie4ba70ae8290f497a4a5d756a369911b96205299
9 years ago
Richard Fuchs
0f285899e0
TT#12800 avoid creating empty log messages
Change-Id: Ica806fbc4cbe723cffdc16a7206fd4890af9fe53
9 years ago
Richard Fuchs
90693a1969
TT#12800 refactor RCTP XR processing
Change-Id: Ieb6279d866cae3e4f6b13c2755518c2bbb7e428c
9 years ago
Richard Fuchs
70b7112617
TT#12800 store and process RTCP SR and RR for statistics
Change-Id: Ia78c37ae9d24df6783b664da6d395263f9f39e91
9 years ago
Richard Fuchs
c1711ea948
TT#12800 consolidate and combine RTCP parsing and logging
Change-Id: I8690b5d180b3eaf1c1b0b4295734609c5125a453
9 years ago
Richard Fuchs
223c7f17dd
TT#12800 abstractize rtcp parsing and logging functions
Change-Id: I26e02a6851a51ea0720ac8ce1fc4a9e27d2ffec4
9 years ago
Richard Fuchs
b3583633e3
TT#12800 canonicalize ssrc handling
Change-Id: I481dd4062f044f9f7add65b4b82d276629f47ce8
9 years ago
Richard Fuchs
5e3ce30272
TT#14008 add missing DTLS locks
fixes possible segfaults due to race conditions
fixes #283
Change-Id: I7efba57d914163986c294b8fb1dd9531d5ef7a89
9 years ago
Richard Fuchs
37a9521901
don't treat media socket write errors as fatal
closes #351
Change-Id: I36add0e8aca8856e053b10abdfffbfa63e134daa
9 years ago
Richard Fuchs
531febbbb0
migrate log-stderr and log-facility options to lib for recording daemon
Change-Id: I3322eccf01c606f29024fc786b257c45d6b92b54
9 years ago
Richard Fuchs
c5a202ebcd
write both types of media indexes to recording metafile
Change-Id: Ib6d5b43aa8a94ad62f73d644e5a2009d804cf17d
9 years ago
Victor Seva
f7aa5fa6b6
TT#14571 PEP8 for YouCompleteMe config
Change-Id: I8fdc9b3d3ceb2cfa7333cb8520228629f1c521f1
9 years ago
Richard Fuchs
d269f6a320
eliminate orphaned redis code fragments
Change-Id: Id2c394f61387d3cc1f89a62b880c4ecc1c9d060e
9 years ago
Guillem Jover
0b1bdbb339
TT#14400 Do not NULL-dereference pointer
When debugging mode is enabled, and the socket variable is NULL, we will
try to dereference it to print the debug message. Split the checks to
avoid that.
Change-Id: I0e0643900d3d8463937b7fd47b21cd91cf49b73c
9 years ago
Guillem Jover
bd833c2586
TT#14400 Use a boolean instead of a bitwise operator
Using the bitwise operator seems confusing here, and the boolean
operator will in addition short-circuit which should not be very
significant performance-wise, but still nice.
Change-Id: Icda38d7799aa264d9a6cc1f4a71587e60189b18e
9 years ago
Victor Seva
3c813acacc
support wheezy build reported at #343
(cherry picked from commit db7537b1f0 )
9 years ago
Anthony Alba
b1e259c109
Document libsrtp AES-256 SRTCP bug for interop
9 years ago
Richard Fuchs
0f07e46d62
fix 32-bit compilation errosr
Change-Id: I237a077c4e2d1064af963b3f2a2e51bb2a8388f6
9 years ago
Richard Fuchs
6b6b8ea54a
don't use anonymous unions to make old compilers happy
fixes #347
Change-Id: I32ef9efa674e74c3a1263c0fd786a16562ea7838
9 years ago
Claudiu Boriga
edac4f2cd7
make cli_incoming accept multiple connections
fixes #280
9 years ago