Commit graph

307 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
709d6497b4 license: update FSF address 2016-07-27 17:05:47 +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
Simon Morlat
9b95f24fc3 avoid multiple warnings due to ms_is_multicast() not used correctly, make code stream type agnostic 2015-02-05 00:09:46 +01:00
Jehan Monnier
5dc7fa8d1a make sure multicast and unicast eraly media call forking work 2015-02-04 12:17:15 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Guillaume BIENKOWSKI
7acf4df883 Add a unit test for a no-sdp reinvite after a pause, and implement a correction to handle this case. 2015-01-23 14:30:38 +01:00
Simon Morlat
16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
Jehan Monnier
d7437ef1f5 enable ice with tunnel 2014-12-22 21:47:35 +01:00
Guillaume BIENKOWSKI
b8e643f7b1 Fix reinvite in case of redirection: we should use the linphone_core_restart_invite function, which correctly handles the streams close/reopen 2014-12-03 12:29:03 +01:00
Ghislain MARY
4ac1ccdf05 Handle the callbacks associated with a chat message directly in the LinphoneChatMessage object instead of in the LinphoneCore object. 2014-11-24 16:16:17 +01:00
Guillaume BIENKOWSKI
8934000867 Fix message tester when no storage is used 2014-11-24 11:53:43 +01:00
Ghislain MARY
35189535a7 Convert LinphoneContent from a simple struct to a belle-sip object to ease generation of wrappers. 2014-11-18 16:42:16 +01:00
Simon Morlat
2e515642f0 fix bad call state notification (Released) when receiving a call with incompatible codecs.
Normally this should not trigger any notification.
Fix bug allowing two incoming calls to be notified if ICE is used.
2014-11-18 16:01:51 +01:00
Gautier Pelloux-Prayer
abe5a19431 Do not crash if SDP could not be parsed and had some unit tests. - avoid crash if missing SDP in REINVITE ACK - resume previous media parametrs instead of aborting call in case of invalid SDP in REINVITE 2014-11-06 17:25:36 +01:00
Simon Morlat
965add9d6e add new states LinphoneCallEarlyUpdating and LinphoneCallEarlyUpdatedByRemote to properly handle the early dialog UPDATE scenarios.
fix test suite.
2014-10-20 15:10:40 +02:00
Jehan Monnier
3c955d1680 add option sip,call_logs_use_asserted_id_instead_of_from to update call logs from value with value from P-Asserted-identity 2014-10-15 13:35:53 +02:00
Simon Morlat
3e1e3c93f4 fix crash when declining an update
refine conditions for refusing an UPDATE
2014-09-25 14:15:06 +02:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00