Commit graph

483 commits

Author SHA1 Message Date
Simon Morlat
e39a90c1dd make LinphoneTunnelConfig a real object 2015-10-27 14:49:29 +01:00
Sylvain Berfini
f574e10a87 Fix crash in quality reporting when call with audio, video and text + fix future index out of bound issue (if main stream index > 3) 2015-10-20 10:13:22 +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
Gautier Pelloux-Prayer
2d6dc65254 private.h: remove linphone_core_set_as_current_call since it is not implemented anymore 2015-10-14 15:40:42 +02:00
Ghislain MARY
b025abb63a Fix useless media restart on ICE re-invite. 2015-10-08 14:05:15 +02:00
Ghislain MARY
c149a6da7e Add API to handle custom SDP attributes. 2015-10-07 10:55:10 +02:00
Simon Morlat
8a7cfe66d6 don't notify a NotDelivered state if an incoming file transfer fails 2015-10-04 21:14:16 +02:00
Gautier Pelloux-Prayer
53a0f03999 account_creator: rework it to be error-friendly 2015-10-01 15:57:51 +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
a4f4d59906 fix ICE regression 2015-09-25 19:23:20 +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
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
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
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
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
Sylvain Berfini
b5d0667594 Merge branch 'dev_rtt' 2015-09-22 11:12:34 +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
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
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
405ca6abbd Fix stream indexes computed too late 2015-09-17 11:35:57 +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
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
Sylvain Berfini
e141a5ea38 Merge branch 'dev_call_logs_sql' into dev_rtt 2015-09-14 15:32:38 +02:00
Sylvain Berfini
1a43b01696 Merge branch 'master' into dev_rtt 2015-09-10 14:19:52 +02:00
Simon Morlat
13f0d85f68 implement automatic repairing of SIP dialogs broken by a network disconnection. 2015-09-08 21:20:25 +02:00
Sylvain Berfini
6d9af5fa54 Fix ref leak + renamed some functions + improved MSList handling 2015-09-08 14:54:28 +02:00
Sylvain Berfini
cabf15f1f5 Store call logs in sql database + new method to get all call logs related to a linphone address 2015-09-08 02:45:32 +02:00
Gautier Pelloux-Prayer
f46f1fbe77 linphonecall: LinphoneCoreCallStateChangedCb should never receive NULL as last argument "message" 2015-09-07 17:38:41 +02:00
Simon Morlat
b9c32d33a5 send presence to multiple instances of a same user that subscribed to us. Fixes memory leak. 2015-09-04 22:23:00 +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
9f2b9df16a Revert "chat: fix crash when receiving message status notification AFTER having deleted the chat room"
This reverts commit 08e923a41c.
This commit breaks compilation.
2015-09-03 21:29:44 +02:00
Gautier Pelloux-Prayer
08e923a41c chat: fix crash when receiving message status notification AFTER having deleted the chat room 2015-09-03 17:07:52 +02:00
Simon Morlat
973627b165 adapt to new mediastreamer2, where big renaming occurs to fix incorrect function naming.
Fix an fopen(NULL) reported by valgrind.
2015-08-10 23:02:45 +02:00
Jehan Monnier
803d2052a1 add Real Time Text api with stubbed implementation over SIP Messages. 2015-08-01 18:16:12 +02:00
Sylvain Berfini
d65b32ce09 Added displayName methods to account creator 2015-07-31 16:09:42 +02:00
Ghislain MARY
a5fdc283f7 The linphone_proxy_config_get_contact symbol needs to be exported for the tester. 2015-07-29 17:37:42 +02:00
François Grisez
2c63fa85b0 Fix crash due to libintl on Windows with Visual Studio 2015-07-29 17:25:47 +02:00
Jehan Monnier
2712cb4834 Clear pending tcp/tls address of record in case of network change. Very useful for legacy SIP server with no sip instance support and limited number of air. 2015-07-29 17:09:04 +02:00
Gautier Pelloux-Prayer
d9f41fff5a proxy config: modify linphone_proxy_config_get_contact and add linphone_proxy_config_get_identity_address returning LinphoneAddress and move all documentation to linphone_proxy_config.h 2015-07-29 13:26:53 +02:00
François Grisez
36eea822d2 Add a cache for unread messagaes count in LinphoneChatRoom
That fix a performance issue when typing a message. The sqlite database
was accessed each time a character was typed in order to mark all
preceeding messages as read. That was done even if all message was marked
as read.

This patch add cache for unread messages count. Then, the count is only carried out
at the first call of linphone_chat_room_get_unread_messages_count(). This function
is used in linphone_chat_room_mark_as_read() to prevent database from being accessed
if all messages are already marked as read.
2015-07-22 23:56:19 +02:00
Ghislain MARY
a8006a0160 Use void* for window ids. 2015-07-20 12:16:26 +02:00
François Grisez
74fa01a0e2 Define ENABLE_NLS instead of HAVE_INTL when internationalization is available 2015-07-07 14:04:39 +02:00
Ghislain MARY
8722f8a990 Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00