Commit graph

323 commits

Author SHA1 Message Date
Simon Morlat
2cd6f5f474 implement rtcp-mux, not tested yet. 2015-11-06 13:07:43 +01:00
Simon Morlat
3d7bbb5bd5 remove linphone_core_create_default_call_parameters() because this function is dangerous and error prone.
Indeed, it cannot guarantee that the created call params are compatible with the call being accepted or updated.
For doing an outgoing call there is no problem in using it but linphone_core_create_call_params() is better and hard to mis-use.
2015-10-31 12:00:28 +01:00
Gautier Pelloux-Prayer
1b6b49a579 conference: fix conference API with tests - there must be no current call in conference 2015-10-21 15:44:33 +02:00
Ghislain MARY
c6bc74a657 Fix bug #2337: ICE reINVITE triggers streams redraw. 2015-10-08 15:36:35 +02:00
Ghislain MARY
a1c74ded6c Fix compilation error. 2015-10-07 10:56:37 +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
Ghislain MARY
04185679c7 Fix bug 0002495: ICE restart doesn't work as expected.
A change in ICE credentials in the SDP detects an ICE restart and triggers stream reconstruction.
2015-09-28 17:04:51 +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
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
b5d0667594 Merge branch 'dev_rtt' 2015-09-22 11:12:34 +02:00
Simon Morlat
e0d2b13123 fix regression with previous commit regarding auth infos and ha1 2015-09-18 22:35:10 +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
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
Gautier Pelloux-Prayer
352b9c8406 callbacks.c: avoid crashing when we receive response to a message belonging to already destroyed chat room with unit test added 2015-09-08 10:34:49 +02:00
Simon Morlat
bf16b53c6e fix memory leak when receiving a is-composing notification 2015-09-06 22:45:37 +02:00
Simon Morlat
0d87a22d1d fix bugs in Paused state management. It was possible to transition from Paused to PausedByRemote, which actually breaks the Paused state, and eventually allows the pauser to be resumed by the paused. 2015-09-03 21:39:58 +02:00
Simon Morlat
ed2385ce28 Refactoring of states, handling of media direction, late offering and so on.
Almost working except one test.
2015-09-03 21:39:58 +02:00
Simon Morlat
3f7577a6ab fix potential bug because internal_call_update flag was never reset. 2015-08-26 14:47:01 +02:00
Simon Morlat
52dc82cd5b update ms2 2015-08-16 17:11:24 +02:00
Sylvain Berfini
f64f845c5d Merge branch 'master' into dev_bb10
Conflicts:
	mediastreamer2
	oRTP
2015-07-31 16:14:15 +02:00
Gautier Pelloux-Prayer
3312e8be0b callbacks.c: use state string not state id in text_delivery_update 2015-07-15 14:38:48 +02:00
Sylvain Berfini
307d8b69b2 Fix crash in log because of NULL 2015-07-08 13:45:21 +02:00
Gautier Pelloux-Prayer
240818afd8 tester: crosscorrelation tests now use a 1 sec wav input so that it lasts only 10 sec, not 355 sec. 2015-07-07 11:28:09 +02:00
Ghislain MARY
8722f8a990 Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00
Simon Morlat
060dfb0f1f update ms2 2015-07-01 14:47:33 +02:00
Jehan Monnier
e59db8daec Answer 500 server internal error in case of unexpected request arriving at core level 2015-06-25 12:20:04 +02:00
Jehan Monnier
ad1d7c12c9 Fix ZRTP conference 2015-06-02 18:28:02 +02:00
François Grisez
5dc410d0c7 Fix build issue 2015-05-13 17:19:30 +02:00
Jehan Monnier
258366937a implement re-invite from multicast to unicast call. 2015-05-13 09:15:29 +02:00
Jehan Monnier
e8aef044fb Allows incoming call to be accepted even if an outgoing call is in progress. In such case, outgoing call is automatically canceled. 2015-05-04 16:50:41 +02:00
Ghislain MARY
7f5acfd6a9 Fix a bug in ICE where the session state was not correct when a peer added a video stream during a call and the other peer refused it. 2015-04-29 13:16:19 +02:00
Ghislain MARY
ced44d17eb Add lpconfig option to set the default value for defer_update. 2015-04-21 12:18:38 +02:00
Ghislain MARY
74ad3ed63f Add linphonerc option to disable video during pause. 2015-04-10 11:45:47 +02:00
Jehan Monnier
51abeed0b5 fix video stream not started when called party is configured with automatically accept policy in case of first invited in audio only and video is later added. 2015-04-03 14:03:15 +02:00
Jehan Monnier
a56d4e495e store cam setting in call context to be able to manage webcam configuration, call by call, specially useful to set nowebcam in Pausing state only. 2015-03-24 13:56:56 +01:00
Jehan Monnier
15b915e036 -No longer rewrite callparams->has_video, but use dedicated params to save offers answer result regarding video
-Invoke FIR in method linphone_core_send_vfu_request
-Invoke CallStatsUpdated even in case of scheduled updates
-Fix media direction in case of paused/resumed with paused by « inactive »
2015-03-23 12:49:31 +01:00
Simon Morlat
8f7a1ee5d5 fix audio only build 2015-03-19 17:21:24 +01:00
Ghislain MARY
59860a2ab7 Also test that the video stream is started to try early-media forking. 2015-03-19 12:08:13 +01:00
Simon Morlat
9ef35e8f77 fix crash when receiving no SDP in 200 OK and ICE is enabled 2015-03-15 17:16:02 +01:00
Ghislain MARY
b886fbda41 Play a ringback tone when an early-media call is accepted with inactive audio. 2015-03-02 17:25:52 +01:00
Guillaume BIENKOWSKI
1af008598f NULL-checks for DTLS activation. 2015-03-02 16:58:53 +01:00
Jehan Monnier
11ffe4f943 move rtp_session_set_symmetric_rtp for ice to the completion of ice 2015-02-19 17:17:40 +01:00
Guillaume BIENKOWSKI
a971445719 Fix problem with missing SDP in 200 OK when the call is in early-media. We should recover correctly, we were not.
Also introduced the corresponding unit test.
2015-02-18 15:16:08 +01:00
Jehan Monnier
fd0a7cfd73 add more DTLS tests 2015-02-13 18:01:56 +01:00
Simon Morlat
589d3cd540 appnaping improvements
- take a background task during the ice gatethering for incoming call
- add timestamps to gtk debug window, which was required to investigate the issue.

Requires up to date belle-sip
2015-02-06 19:31:42 +01:00
Ghislain MARY
c9376cc2dd Add parameter and API to allow ringing while in the incoming early media call state. 2015-02-06 19:03:03 +01:00
Ghislain MARY
0f12a36b67 Allow queuing several incoming calls instead of declining all of them except the first. 2015-02-06 15:30:05 +01:00