Commit graph

358 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
0200eb2213 Quality reporting: remove unimplemented fields and split content filling to an one-field-at-a-time process 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
3c71544b24 Store reporting struct in linphone call 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
8417c0b18d Quality reporting: on call end, send a PUBLISH message with call quality data (work in progress) 2014-04-17 16:38:38 +02:00
Simon Morlat
f9c8c72c01 refactor ICE in liblinphone so that processing is centralized in a few methods, rather than spread into several methods. 2014-04-17 16:02:25 +02:00
Simon Morlat
15d7543a49 change default behavior regarding changing srtp keys.
They are now not changed by reINVITEs.
2014-04-15 13:43:25 +02:00
Simon Morlat
80c1f93b95 fix crash with RTCP xr 2014-04-14 16:10:56 +02:00
Simon Morlat
a8176a398d rework SRTP support so that recv and send key can be set and updated independently. 2014-04-08 23:41:14 +02:00
Simon Morlat
7bd50e004f allow usage of system-choosen random ports.
Implies a lot of refactoring in streams management.
2014-04-07 17:37:50 +02:00
Simon Morlat
97ef67377c update ms2 and oRTP, add documentation for zrtp related functions. Fix bug about sesion name not taken into SDP answers. 2014-04-01 22:44:15 +02:00
Ghislain MARY
1a05114e49 Use #define instead of enum. 2014-03-28 14:25:32 +01:00
Simon Morlat
269f8d1c4e add new API to obtain full details about failures (calls, registration, events).
Fix bug when receiving a 487 after cancelling call, resulting in a call waiting tone to be played.
2014-03-21 18:15:28 +01:00
Ghislain MARY
0e2446c0b6 Indicate what RTCP packet has been updated in the LinphoneCallStats structure. 2014-03-19 16:07:05 +01:00
Ghislain MARY
22e88c8da1 Copy RTCP XR configuration in each streams when creating the local media description. 2014-03-19 16:07:05 +01:00
Ghislain MARY
ff9f8c71c2 Pass good RTCP XR configuration to the RTP session. 2014-03-19 16:07:05 +01:00
Ghislain MARY
4f68673168 Define RTCP XR packets sending intervals. 2014-03-19 16:07:05 +01:00
Ghislain MARY
9a4fd36948 Configure the RTCP XR parameters of the rtp session. 2014-03-19 16:07:04 +01:00
Ghislain MARY
4c3baa0528 Define RTCP XR structure in oRTP instead of sal. 2014-03-19 16:07:04 +01:00
Simon Morlat
a7aab35b4f add function to override common telephony tones by wav files 2014-03-18 17:12:40 +01:00
Simon Morlat
edc2963e44 finish to remove automatic on-the-phone notifications 2014-03-11 17:26:57 +01:00
Ghislain MARY
526af17dd5 Do not notify on-the-phone presence automatically when starting the first call.
It is the application that has to handle the presence as it wishes.
2014-03-11 15:14:38 +01:00
Simon Morlat
a45d28a328 implement receiving of in-dialog chat message 2014-03-10 17:25:44 +01:00
Ghislain MARY
52406b95ed Allow configuring RTCP XR from linphonerc file. 2014-03-07 17:02:21 +01:00
Jehan Monnier
29037e50c4 add trace to know whan disconnection is due lack of rtp packets 2014-03-05 15:04:23 +01:00
Simon Morlat
1af4a7c091 improve SDP<->SalMediaDescription conversion and offer answer algorithm 2014-02-28 16:31:05 +01:00
Guillaume BIENKOWSKI
493a1fec08 Fix failing custom header tests failing 2014-02-20 15:38:14 +01:00
Simon Morlat
7330cae8a2 fix crash 2014-02-19 11:50:18 +01:00
Guillaume BIENKOWSKI
b57f8b1526 Added 302 redirection support.
+ removed macros for sal_op_get_contact compatibility
2014-02-19 10:50:36 +01:00
Simon Morlat
9d5c1e7403 add possibility to set/get subject in SDP 2014-02-18 17:30:52 +01:00
Simon Morlat
9fc721e71c fixes and cleanup 2014-02-10 12:08:14 +01:00
Sylvain Berfini
10b8224e38 Renamed/added comments for some call stats functions + use those functions in JNI wrapper for Android 2014-02-04 11:49:48 +01:00
Simon Morlat
b1663d2cc6 fix potential crash in linphone_call_enable_camera() 2014-02-03 10:45:21 +01:00
Guillaume BIENKOWSKI
ba06368167 Revert linphone_call_get_ring_duration() method, and use the call log to get ring time.
Also moved start_time considerations to the call log to clean up a bit.
2014-01-31 12:03:42 +01:00
Guillaume BIENKOWSKI
920f5d052d Add linphone_call_get_ring_duration() method 2014-01-31 11:01:25 +01:00
Simon Morlat
a14fc017cd fix bug regarding automatically_accept video policy 2014-01-28 22:08:58 +01:00
Simon Morlat
092375c98a SDP offer answer fix: declined streams must remain as inactive in future offers. 2014-01-24 11:11:24 +01:00
Ghislain MARY
6935d6cf36 Add check to prevent crashes when using a wrapper about liblinphone.
If a wrapper holds a reference to a linphone call and the core is destroyed, the call can keep a reference to a core that no longer exists. This can cause some random crashes.
2014-01-16 17:04:52 +01:00
Jehan Monnier
f0250b5a5f make sure call media encryption call param is not 'fixed' in case of ZRTP 2014-01-14 14:47:55 +01:00
Simon Morlat
fa421af04a fix problem with SRTP proposed during pauses (by GTK app, due to the use of linphone_core_accept_call_with_params()). 2014-01-07 14:41:41 +01:00
Simon Morlat
95246f5161 fix problem with media encryption not set in params for incoming calls 2014-01-06 16:34:51 +01:00
Ghislain MARY
aeb99d09d9 Fix compilation (missing const keywords). 2014-01-06 15:45:21 +01:00
Sylvain Berfini
be96cb432e Reverted previous commit and added call stats functions to linphone API 2014-01-06 11:48:27 +01:00
Sylvain Berfini
d43eb3788e Fix liblinphone wp8 build 2014-01-03 17:32:42 +01:00
Ghislain MARY
a8b47c508f Add missing symbol exports. 2013-12-20 16:30:17 +01:00
Simon Morlat
d777e00ac9 change behavior of LinphoneCall::camera_enabled
It is now an application preference, the core never modifies it.
It represents whether the camera is allowed to be sent (in case of video request).
2013-12-20 10:40:04 +01:00
Simon Morlat
ffaf96828f Implement fully compatible IPv4/IPv6 mode.
Requires belle-sip upgrade.
2013-12-17 11:56:00 +01:00
Simon Morlat
b9f614744f fix crash in gtk app when updating sip ports
call linphone_call_fix_parameters() when INVITEs and reINVITEs, but not during early-media
2013-12-09 13:21:10 +01:00
Jehan Monnier
61c1e587ab improve test reliability for rctp 2013-12-04 09:02:37 +01:00
Simon Morlat
d7beb3193b reset codecs in current call params when stream is ended, otherwise it points to undefined memory. 2013-11-28 21:48:14 +01:00
Simon Morlat
41f0390f93 generate SRTP keys more securely
simplify management of SalMediaDescription
take into account changes in local encryption keys while updating streams.
2013-11-27 16:50:25 +01:00
Simon Morlat
df6e200585 fix leaked streams in case of incoming call declined because media incompatible 2013-11-19 12:04:45 +01:00