Commit graph

3443 commits

Author SHA1 Message Date
Simon Morlat
46e3ae725a fix RTT CRLF handling (not sure it is correct but at least it no longer does invalid reads)
fix memory leak
2015-09-25 18:27:27 +02:00
Simon Morlat
7cbbb6b17e fix conflicting changes 2015-09-25 17:35:18 +02:00
Simon Morlat
8e200bcf98 fix memory leaks in RTT and fix generation of local media description 2015-09-25 17:28:10 +02:00
Sylvain Berfini
ecc4615b05 Fix huge leak in rtt callback in linphonecall + a few others in rtt tester 2015-09-25 16:14:09 +02:00
Sylvain Berfini
4a5a866cd6 Finally RTT test is working 2015-09-25 15:33:53 +02:00
Jehan Monnier
a919e56787 no longer associate http proxy to sips only but allow https 2015-09-25 15:30:03 +02:00
Simon Morlat
f67f749dc8 fix possible JNI local ref overflow 2015-09-25 10:51:51 +02:00
Simon Morlat
bd0061f227 fix memory leak and add new test to check that linphone_core_destroy() sends BYE for unterminated calls. 2015-09-24 22:06:30 +02:00
Simon Morlat
8eba183b17 fix memory leaks 2015-09-24 17:25:35 +02:00
Sylvain Berfini
0216630824 More work on RTT 2015-09-24 17:21:35 +02:00
Jehan Monnier
56a08e7fab fix compilation issue 2015-09-24 16:57:39 +02:00
Jehan Monnier
4a21150da7 merge add http proxy for sip 2015-09-24 16:48:19 +02:00
Simon Morlat
0f1cf8b14a fix various recent problems with SDP offer/answer and ICE.
Most problematic was that declined streams were not put in SDP answers.
2015-09-24 16:44:07 +02:00
Gautier Pelloux-Prayer
24687ecbe9 message_tester.c: abort test if message has not been received, fix crash and reformat it 2015-09-24 14:52:04 +02:00
Simon Morlat
ba100f073f fix memory leaks 2015-09-24 11:47:51 +02:00
Simon Morlat
32eb45dfc6 fix bad handling of remote params, resulting in wrong information given in them in case of received INVITE without SDP 2015-09-24 11:15:34 +02:00
Sylvain Berfini
3f38e29408 Improved complex sip call tester 2015-09-24 09:36:45 +02:00
Simon Morlat
489a5f3b8e don't cancel an http request that is already terminated 2015-09-23 23:21:06 +02:00
Simon Morlat
28a7d3dbbe fix bug where a pause reINVITE was having a video stream while the original INVITE (made by other party) wasn't proposing video at all. 2015-09-23 18:11:03 +02:00
Simon Morlat
6e96789f33 fix memory leaks 2015-09-23 16:39:18 +02:00
Sylvain Berfini
a2fd11bed7 filled linphone_call_start_text_stream + started to replace rtt stub implementation by real one 2015-09-23 16:19:48 +02:00
Gautier Pelloux-Prayer
879e017e1e tester: update bc_tester_utils and fix some tests - disable stderr for sipp because corrupting output is not great at all 2015-09-23 14:09:52 +02:00
Ghislain MARY
1ae03a4be3 Fix invalid reads with update_rtp_stats that accesses a mediastream that has already been freed. 2015-09-23 11:51:50 +02:00
Simon Morlat
76263deaff fix crash in linphone_core_destroy() when releasing the chat rooms while belle_sip_provider_t no longer exists, and fix many memory leaks 2015-09-22 22:43:31 +02:00
Simon Morlat
4c2c12fafa fix compilation errors 2015-09-22 21:37:34 +02:00
Gautier Pelloux-Prayer
461876a9a3 chat.c: split chat and file transfer in 2 files and fix various memory leaks 2015-09-22 14:03:26 +02:00
Gautier Pelloux-Prayer
8a2f20ceae tester: add before_each / after_each methods to check memory leaks and fix various ones 2015-09-22 13:54:29 +02:00
Sylvain Berfini
b5d0667594 Merge branch 'dev_rtt' 2015-09-22 11:12:34 +02:00
Sylvain Berfini
0e439d9196 Fix and test for multiple mlines of same type in sdp 2015-09-22 10:47:43 +02:00
Sylvain Berfini
9a99b97a40 Fix remaining stream_index == 0 ? audio stream : video stream issue + test to check call with video mline before audio in sdp 2015-09-21 17:14:03 +02:00
Sylvain Berfini
9a792cbbf7 Added log to see which index have each stream 2015-09-21 16:29:35 +02:00
Simon Morlat
6ceaff09f6 fix check_media_direction again. 2015-09-21 10:47:18 +02:00
Simon Morlat
82286e695b attempt to repair windows build 2015-09-20 19:46:35 +02:00
Simon Morlat
e0d2b13123 fix regression with previous commit regarding auth infos and ha1 2015-09-18 22:35:10 +02:00
Gautier Pelloux-Prayer
c747a8da64 linphonecall.c: display error if SDP negotiation fails 2015-09-18 17:07:05 +02:00
Sylvain Berfini
1213a64a64 Fix call logs if no database file set + test 2015-09-18 15:56:33 +02:00
Sylvain Berfini
84a59d62f1 Fixed nb_stream variable in resultdesc and fixed test to detect change between two media descs 2015-09-18 14:52:01 +02:00
Simon Morlat
096b71cd7e refine management of ha1 vs clear text passwords.
if store_ha1_password option is set, then never store clear text password. Also whenever realm is known, compute the ha1 and drop the clear text password.
2015-09-18 13:26:36 +02:00
Gautier Pelloux-Prayer
570ebc6b00 linphonecore_jni.cc: fix compilation of chat 2015-09-18 10:27:32 +02:00
Simon Morlat
0307ee5fa3 fix crash and memleak in test. 2015-09-18 10:21:10 +02:00
Sylvain Berfini
cae3cd4f8d Fixed stun tester 2015-09-17 17:25:02 +02:00
Gautier Pelloux-Prayer
f0bd070bc2 chat: fix some crashing tests and disable the others for now 2015-09-17 17:16:29 +02:00
Sylvain Berfini
0b8dd54535 Fix crash in test Call without SDP 2015-09-17 17:10:02 +02:00
Sylvain Berfini
9127666fe5 Do not use -1 for unused steams, instead use an unused index 2015-09-17 16:00:09 +02:00
Sylvain Berfini
ee7e053980 Fix audio AVPF and video AVP in SDP issue 2015-09-17 14:38:00 +02:00
Sylvain Berfini
405ca6abbd Fix stream indexes computed too late 2015-09-17 11:35:57 +02:00
Simon Morlat
448f6a7108 disable jitter buffer by default for rtp local IO. 2015-09-16 22:32:38 +02:00
Gautier Pelloux-Prayer
fdf5abefd6 chat: refactoring it to always invoke callbacks when changing state, reenable disabled tests and add two new file upload tests where liblinphone should not crash while it does currently 2015-09-16 16:08:11 +02:00
Sylvain Berfini
c8f1f3b61e Do not use anymore nb_streams but SAL_MEDIA_DESCRIPTION_MAX_STREAMS and skip inactive ones because active streams won't be at the start of the array anymore 2015-09-16 15:23:01 +02:00
Sylvain Berfini
15b6353e30 Started rework of streams' indexes for RTT 2015-09-15 17:27:40 +02:00