Commit graph

854 commits

Author SHA1 Message Date
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Simon Morlat
e4149d19a8 Add LinphoneCall callback to be notified about ACKs, in order to be able to add custom headers in sent ACKs and read custom headers in received ACKs. 2017-06-26 22:49:15 +02:00
Sylvain Berfini
36df948b23 Added expected_bandwidth parameter 2017-06-16 15:12:57 +02:00
Nicolas Follet
e3365011df add getter of to address in linphoneCall which contains headers 2017-06-14 15:28:27 +02:00
Erwan Croze
4b648c1158 Use of BCTBX_NO_BREAK instead of LINPHONE_NO_BREAK 2017-05-31 15:25:47 +02:00
François Grisez
41a1f556e1 Add LINPHONE_NO_BREAK macro
This macro tells GCC that a 'break' statement has been deliberately
omitted in a switch block.
2017-05-30 14:21:30 +02:00
Simon Morlat
3a850c1a03 Don't select telephone-event for audio stream even if it appears first in the list. 2017-05-23 12:24:43 +02:00
Jehan Monnier
6ded32bfff fix nat policy check for incoming calls 2017-05-23 10:45:19 +02:00
Ronan Abhamon
974daa4bb5 fix(linphonecall): test conference context before on_call_stream_starting call 2017-05-22 16:44:28 +02:00
Benjamin Reis
1e11361827 reduce call to lp_config 2017-05-18 16:10:54 +02:00
Benjamin Reis
de154b5207 keep ringing in early media when declining one of many incoming calls if linphone_core_set_ring_during_incoming_early_media=true 2017-05-18 15:58:34 +02:00
Benjamin Reis
b75ff9c06c fix build issue 2017-05-11 16:31:49 +02:00
Benjamin Reis
148e1d415e Do not stop ringing if there's still incoming calls 2017-05-11 16:25:08 +02:00
Jehan Monnier
60c72c8437 add nat_policy ref to calls to make sure nat policy is used from proxy config if exist 2017-05-11 13:39:17 +02:00
Simon Morlat
f211fc30d5 only mark as missed incoming calls. 2017-05-04 17:19:48 +02:00
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