Commit graph

642 commits

Author SHA1 Message Date
Simon Morlat
08d0a6089c automatically close call during early states when the initiating transaction is closed prematurely (network disconnection for example).
add new tests for this.
2015-10-18 17:21:32 +02:00
Simon Morlat
746e77ba3a enable freeze_on_error by default. It gives much better results with VP8, especially with large images. 2015-10-15 13:55:52 +02:00
Simon Morlat
d3bd19d39d implement RTP socket re-creation on the fly, in order to have RTP streams to follow the new routes defined by the system.
This is optional, done in linphone_core_set_network_reachable(lc, TRUE); when property recreate_sockets_when_network_is_up is set to 1 in [net] section of linphonerc.
2015-10-14 21:58:26 +02:00
Simon Morlat
78c788974f fix case where params taken from linphone_core_accept_call_with_params() where not correctly taken into account 2015-10-14 16:23:33 +02:00
Simon Morlat
50c5599649 fix bad merge 2015-10-14 14:39:04 +02:00
Simon Morlat
28e6ee40b2 fix crash when calling linphone_call_get_remote_params() when no incoming message is received yet. 2015-10-14 14:23:40 +02:00
Gautier Pelloux-Prayer
49a80e87f3 linphonecall.c: fix call log saving on call end when not using database 2015-10-14 13:07:01 +02:00
Simon Morlat
ab41327e00 check for dead calls also in PausedByRemote state 2015-10-13 11:14:30 +02:00
Sylvain Berfini
8b90c32dc8 Fix crash on bb10 when zrtp and debug mode are enabled 2015-10-12 16:59:59 +02:00
Ghislain MARY
b025abb63a Fix useless media restart on ICE re-invite. 2015-10-08 14:05:15 +02:00
Ghislain MARY
733ce6a09d Fix crash in report_bandwidth when built without video support. 2015-10-08 14:04:06 +02:00
Simon Morlat
fcbbbcce85 fix crash 2015-10-08 11:41:09 +02:00
Simon Morlat
6cc3a1c410 get events from event queues before stream are destroyed (to avoid loosing events) 2015-10-08 09:42:06 +02:00
Ghislain MARY
c149a6da7e Add API to handle custom SDP attributes. 2015-10-07 10:55:10 +02:00
Jehan Monnier
4648e9e7f3 add sdp_200_ack_follow_video_policy option to follow video policy to build SDP in case of INVITE without SDP for inactive video stream. 2015-10-07 08:35:19 +02:00
Simon Morlat
1f394e8622 various improvement to help debugging 2015-10-03 17:54:04 +02:00
Simon Morlat
1052ffc610 add debug logs for troubeshooting android failed tests 2015-10-03 11:22:16 +02:00
Simon Morlat
195a72ed6e fix problem with the "next video frame decoded" notification, whose request was not surviving to a restart of the VideoStream. 2015-10-03 10:38:47 +02:00
Ghislain MARY
61ac1f8173 Fix compilation warnings when building for Windows 10. 2015-10-01 14:29:00 +02:00
Sylvain Berfini
ccc60f16ec Added test for SRTP and realtime text 2015-09-29 14:22:59 +02:00
Johan Pascal
10c8d03e44 Fix SRTP key length error in SDES mode 2015-09-29 13:28:08 +02:00
Sylvain Berfini
d12f596bbe Added some missing pieces for ICE and text stream + fix for textstream always AVP 2015-09-29 11:53:23 +02:00
Sylvain Berfini
c29d018bff Added possibility to disable audio stream in call params + tester for RTT without audio stream 2015-09-28 12:08:16 +02:00
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
Sylvain Berfini
0216630824 More work on RTT 2015-09-24 17:21:35 +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
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
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
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
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
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
Gautier Pelloux-Prayer
c747a8da64 linphonecall.c: display error if SDP negotiation fails 2015-09-18 17:07:05 +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
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
Sylvain Berfini
879dd2cb2f Merge branch 'dev_call_logs_sql' 2015-09-14 17:11:17 +02:00