Commit graph

370 commits

Author SHA1 Message Date
Simon Morlat
0e9a92ef5a declare prototype 2014-04-24 19:05:01 +02:00
Margaux Clerc
ff7d1a7091 Value uninitialized 2014-04-23 09:15:41 +02:00
Simon Morlat
02918fba1b factorize call stats filling 2014-04-23 00:55:32 +02:00
Gautier Pelloux-Prayer
ceb8533cf9 Merge branch 'quality_reporting'
Conflicts:
	coreapi/linphonecall.c
	mediastreamer2
	tester/call_tester.c
2014-04-22 14:42:20 +02:00
Simon Morlat
d6fef910bb fix crash with ICE and compilation error 2014-04-18 11:02:09 +02:00
Jehan Monnier
471314ee1a preserve media encryption mode for zrtp in case of re-invite initiated by ice 2014-04-18 09:06:11 +02:00
Gautier Pelloux-Prayer
f3efcb1286 Quality reporting: fix unit tests, and remove some trailing spaces 2014-04-17 16:58:50 +02:00
Gautier Pelloux-Prayer
a8ba7b7993 Quality reporting: fix IP/port fields 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
05b75f7609 Quality reporting: store struct in LinphoneLog instead of LinphoneCall, and added new/destroy methods 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
a1c1f3013e Quality reporting: verify values before adding them to the report 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
a9e94795f4 Quality reporting: fix submit report time moment 2014-04-17 16:38:39 +02:00
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
Jehan Monnier
43aa6ef34f change encryption state management 2014-04-17 16:22:49 +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