Commit graph

867 commits

Author SHA1 Message Date
Sandrine Avakian
92c8c0e4da First commit for decline call with reason header support 2017-04-03 14:31:53 +02:00
François Grisez
351bb97027 Reworking of Liblinphone's API around payload types 2017-04-03 12:34:49 +02:00
Johan Pascal
fcc61d1aa5 Switch to sql based zrtp/lime cache
Warning: no migration from old xml cache provided yet
2017-04-01 11:05:08 +07:00
Ghislain MARY
548a81228f Add definition of callbacks on the LinphoneCall object. 2017-03-30 15:40:33 +02:00
Sandrine Avakian
a7a1c181a1 Merge commit 'a620881569eecd0938bb4101224b4353d029c788' into dev_loc 2017-03-30 10:51:14 +02:00
Sandrine Avakian
db0191ec9e Renaming functions :
-linphone_call_error_info_to_sal_op into linphone_error_info_to_sal as there is no LinponeCall object  involved here.
- linphone_call_terminate_with_error into linphone_call_terminate_with_error_info
Fixes in linphone_call_terminate_with_error_info.
2017-03-30 10:47:42 +02:00
Ghislain MARY
e729b823d6 Add some accessors for the call stats. 2017-03-27 17:09:29 +02:00
Sandrine Avakian
5f9ba4ea90 replacing ms_strdup_safe by bctbx_strdup.
Adding checks in sal_call_terminate_with_error
2017-03-27 16:05:43 +02:00
Sandrine Avakian
ad337fffef Adding new API int linphone_call_terminate_with_error_info(LinphoneCall *call, const LinphoneErrorInfo *ei) and other functions to handle RFC3326 reason header. 2017-03-27 15:27:42 +02:00
Sandrine Avakian
6adccb389b Merge branch 'master' into dev_loc 2017-03-23 11:41:21 +01:00
Simon Morlat
95098f055a Make LinphoneErrorInfo a belle-sip object. Add new accessors, and make it able to take Reason headers in incoming requests (feature to be tested) 2017-03-22 14:45:24 +01:00
Sandrine Avakian
0009e277d7 Added linphone_call_set_params to modify SDP header and attributes.
Added linphone_call_get_params to get local call params used.
Added tests .
2017-03-20 14:14:43 +01:00
Ghislain MARY
6a9b199af6 Remove a lot of deprecation warnings. 2017-03-17 17:49:45 +01:00
Benjamin Reis
5616a97ef2 fix crash in received_rtcp analysis 2017-03-14 12:13:25 +01:00
Simon Morlat
16a50a628d fix parsing of report blocks in linphone_call_stats_get_sender_loss_rate() and linphone_call_stats_get_receiver_loss_rate() 2017-03-10 16:36:17 +01:00
Ghislain MARY
46d894caf6 Use correct macro to detect Android build. 2017-03-08 13:12:02 +01:00
Ghislain MARY
d69adc82c5 Set an IO error info for a call when it gets terminated after connectivity lost timeout. 2017-03-01 11:46:59 +01:00
Ghislain MARY
87cfca94b5 Fix build with disabled video. 2017-02-21 10:50:22 +01:00
Ghislain MARY
66cf0b624c Perform an ICE reset instead of an ICE restart when recovering from a connection loss (it has the effect to also clear the previous local candidates). 2017-02-14 11:51:19 +01:00
Ghislain MARY
e53d4cf70d Improve API so that it is more object-oriented. 2017-02-13 16:18:37 +01:00
Simon Morlat
cf49dc437c fix various problems with the handling of LinphoneCallStats in JNI wrapper. 2017-02-07 21:06:00 +01:00
Simon Morlat
ebf1760947 add new function to get stream stats 2017-02-07 13:58:15 +01:00
Ronan Abhamon
f4d1fd0fe7 Merge branch 'master' of git.linphone.org:linphone 2017-02-07 12:39:27 +01:00
Ronan Abhamon
51dca644ba use MS_OGL_RENDER instead of MS_VIDEO_DISPLAY_CALL_GENERIC_RENDER in linphone_call_ogl_render 2017-02-07 12:39:02 +01:00
Simon Morlat
2e9a01885e factorize code and clean strangely designed functions. 2017-02-07 12:36:28 +01:00
Johan Pascal
bced2b3534 Lime key validity gets easier config file setting
- can use expression like 1W, 2M or 3d instead of number of seconds
2017-02-06 14:39:14 +07:00
Simon Morlat
23c34bc18f make sure that rtp statistics reported from LinphoneCall are updated after a stream terminates, so that it really says the exact number of packets that were received and sent. 2017-02-05 21:12:13 +01:00
Simon Morlat
fa21f35941 fix enablement of advanced rate control 2017-02-05 17:12:01 +01:00
Johan Pascal
d0222b5a87 Manage LIME key expiration date 2017-02-05 15:33:12 +07:00
Simon Morlat
285ee7aec7 enforce sanity of call state changes. 2017-02-03 22:02:49 +01:00
Ronan Abhamon
aa4d6d035d linphone_call_ogl_render supports preview 2017-02-01 14:13:15 +01:00
Simon Morlat
61c5137594 integrate new bandwidth control algorithm 2017-02-01 11:01:25 +01:00
Ronan Abhamon
3c05f1e7d5 add a linphone_call_ogl_render to use MSOGL ms filter 2017-01-31 14:18:18 +01:00
Simon Morlat
d2dd8fd389 fix bug when setting up tone files for tone ids. Update ms2 and ortp for jitter buffer improvements. 2017-01-25 17:45:54 +01:00
Ronan Abhamon
9b6643b651 fix(coreapi/linphonecall): linphone_call_get_duration returns call->log->duration value at end call 2017-01-25 15:24:35 +01:00
Ghislain MARY
90678a34b1 Reflect real media directions in the current call params. 2017-01-16 12:21:51 +01:00
Simon Morlat
656ff43b13 fix most common warnings 2017-01-14 14:13:26 +01:00
Simon Morlat
c541b8ec79 Make liblinphone use new jitter buffer from oRTP. 2017-01-13 18:01:23 +01:00
François Grisez
163380c454 Move some comments from source files to headers 2017-01-12 17:51:44 +01:00
Ghislain MARY
6e686b4cfd Fix bug 0003404: crash during ice re-invite in case of video only incoming call. 2017-01-03 16:46:52 +01:00
Sandrine Avakian
67ea07bdca Merge branch 'daemon-dev'
# Conflicts:
#	daemon/commands/video.cc
2017-01-02 11:10:28 +01:00
Sandrine Avakian
0435a02197 Adding option in linphonerc rtp_io_enable_local_output
to enable using local speaker in rtp_io mode. Option checked in [sound] section only.
2016-12-26 15:33:16 +01:00
Ghislain MARY
82b8f3cdd7 Introduce the call.h header file. 2016-12-20 16:18:08 +01:00
Ghislain MARY
66887a5200 Move some documentation from the source code to the headers. 2016-12-20 12:05:42 +01:00
Ghislain MARY
0b16049394 If connectivity is lost during an outgoing call at a very early stage (the dialog has not been created yet), try to repair the call by cancelling the INVITE and issuing a new one. 2016-12-05 14:03:46 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Simon Morlat
64ac0d5081 If multicast is used, create RTP socket with the same address familly as the multicast address, in order to workaround issues with dual stack sockets and multicast, especially on mac os. 2016-11-03 22:58:44 +01:00
Ghislain MARY
cdb72ebf7d Fix call recovery testers that were failing when run one after an other. 2016-11-02 16:12:16 +01:00
Ghislain MARY
cadf505786 Add specific callback to perform action (in this case re-INVITE) on cancel response. 2016-10-24 14:27:45 +02:00
Simon Morlat
008892b9b4 fix memory leak and compilation issue 2016-10-21 21:48:18 +02:00