Commit graph

348 commits

Author SHA1 Message Date
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
Simon Morlat
e407f70c14 Fix: in tunnel mode, linphone wasn't unregistering at exit. 2013-11-06 16:36:43 +01:00
Simon Morlat
61c2fbf964 use internal linphone_core_send_presence() method to send on-the-phone notification when a call is starting and restore to user's presence when last call is terminated.
This allows to use publish if relevant, while previous method could only send NOTIFY.
2013-10-29 16:07:26 +01:00
Simon Morlat
d48286fc97 add new test for early media and forking 2013-10-14 15:30:28 +02:00
Jehan Monnier
a5c40facf6 add tests to make sure unsuccesfull incall transactions do not abort the call. 2013-10-11 10:31:56 +02:00
Ghislain MARY
2f6854ca8a Add documentation for enums that were not documented. 2013-10-09 10:44:09 +02:00
Ghislain MARY
f779be584c Deprecate linphone_call_is_in_conference() and linphone_proxy_config_is_registered(). 2013-10-07 10:57:25 +02:00
Simon Morlat
914656c003 add way for linux users to choose betwen X11/Xv or GLX video renderers. 2013-09-27 22:30:20 +02:00
Simon Morlat
6f1bfbea7f fix warnings 2013-09-24 22:23:20 +02:00
Jehan Monnier
1b47a0dfd4 Merge branch 'master' of git.linphone.org:linphone 2013-09-24 16:08:44 +02:00
Jehan Monnier
26850e5213 update certificate test, use mediastream stats/iterate 2013-09-24 08:48:32 +02:00