Commit graph

838 commits

Author SHA1 Message Date
Sylvain Berfini
fba1e7ccb1 Fixed missing bandwidth information for video/text since rework 2017-04-19 18:14:28 +02:00
Ronan Abhamon
101adaeab8 feat(coreapi/linphonecore): provide a linphone_core_preview_ogl_render function 2017-04-19 17:00:16 +02:00
Simon Morlat
05a9cf1279 fix zrtp bug 2017-04-19 16:55:31 +02:00
Sylvain Berfini
e7637881d0 Updated linphonecore_jni.cc to reflect latest changes made to LinphoneCallStats 2017-04-19 16:46:30 +02:00
Sylvain Berfini
f796ef33b2 LinphoneCallStats is now unowned to prevent leak when linphone_call_get_stats method will be wrapped 2017-04-19 16:28:17 +02:00
Sylvain Berfini
83b94af9a4 LinphoneCallStats is now a belle_sip_object. BREAKS BINARY COMPATIBILITY 2017-04-19 16:17:51 +02:00
Ghislain MARY
d53a2f4f05 Fix crashes related to LinphoneVideoDefinition. 2017-04-19 12:05:05 +02:00
Ghislain MARY
f5c41494d3 Add new LinphoneVideoDefinition object and deprecate API functions handling MSVideoSize structures. 2017-04-18 17:37:35 +02:00
Simon Morlat
d1c3da96f2 fix memory leak and avoid 3 internal deprecated warnings 2017-04-15 23:32:56 +02:00
Simon Morlat
6ac8f1505f fix crashes with new error info 2017-04-15 13:02:08 +02:00
Simon Morlat
c244261bd6 Merge branch 'master' of git.linphone.org:linphone 2017-04-14 15:55:50 +02:00
Simon Morlat
7f57f6828c merge branch with reason header support and new ErrorInfo features.
Add JNI and java interfaces. Fix issues.
2017-04-14 15:28:58 +02:00
François Grisez
408da4db34 Declared the return type of functions returning an error code as LinphoneStatus 2017-04-13 17:00:23 +02:00
Sandrine Avakian
34c276541e Renaming linphone_call_decline_with_error into linphone_call_decline_with_error_info 2017-04-12 10:35:32 +02:00
Sandrine Avakian
0024fab59d Merge branch 'master' into dev_loc 2017-04-11 13:29:35 +02:00
François Grisez
aad3b7e30b Fix bad call duration computation when the call has not passed by the Connected state 2017-04-11 11:17:23 +02:00
Sandrine Avakian
f3bd0a7272 Forgotten file from previous commit. 2017-04-06 11:38:30 +02:00
Sandrine Avakian
710c416e0a Merge commit '77913a3c5e3aace6ab48b78383c011d50c6bec3c' into dev_loc
# Conflicts:
#	coreapi/bellesip_sal/sal_op_call.c
#	coreapi/callbacks.c
#	mediastreamer2
#	oRTP
2017-04-04 14:50:10 +02:00
Sandrine Avakian
ca3e442d9f Replacing most calls to sal_call_decline with sal_call_decline_with_error_info 2017-04-04 14:09:44 +02:00
Johan Pascal
9368df7238 Merge branch 'master' into sqlzidcache
# Conflicts:
#	mediastreamer2
2017-04-04 09:57:35 +07:00
Simon Morlat
e0def942a9 Report call logs for calls aborted before they are notified to the application. 2017-04-03 15:31:13 +02:00
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