Commit graph

895 commits

Author SHA1 Message Date
Simon Morlat
08a66cdf6f Fix commit 3fd706a702 - it was incomplete. 2018-03-13 20:12:10 +01:00
Simon Morlat
3fd706a702 Fix algorithm for IP version selection on outgoing calls. In particular, the "prefer_ipv6" option wasn't really taken into account. 2018-03-11 17:20:59 +01:00
Jehan Monnier
8ef84da0a0 fix lime to make sure zrtp trust is indexed by scheme, username and domain only instead of full sip uri 2018-03-06 16:12:53 +01:00
Sylvain Berfini
c6f009834e Fixed call tests using iframe decoded callback 2018-01-24 10:27:24 +01:00
Sylvain Berfini
9316b09835 Added next video frame decoded callback to LinphoneCall 2018-01-19 09:22:24 +01:00
Sylvain Berfini
b6badebe89 Fixed linphone_call_unref called as many times snapshot was taken 2018-01-17 13:58:34 +01:00
Sylvain Berfini
736ef0b41a Added snapshot callback on call + improved snapshot tester to use it 2018-01-15 10:52:55 +01:00
Simon Morlat
3b69788398 Fix incoming calls for android (no sound because stream type was set to ring) 2017-12-24 22:47:58 +01:00
Jehan Monnier
ea37289b7d move jitter_buffer_max_size default value from 250 to 500 2017-11-21 16:51:48 +01:00
Ghislain MARY
bbf8b49e03 Deactivate ICE when it takes too long to conclude. 2017-11-20 15:47:00 +01:00
Sylvain Berfini
28950cd3f4 Call new mediastreamer2 stream type API to fix ringing from linphone in wrong stream on Android 2017-11-20 15:18:39 +01:00
Simon Morlat
af3d44e60d add helper class in java to access specific functions available only in Android SDK, such as retrieving DNS servers.
Refactor wifi lock, multicast lock so that they use this new class.
Manage the CPU lock required for call in the core, instead of app's LinphoneManager.
2017-10-13 19:38:04 +02:00
Mickaël Turnel
0d38a7a444 Removed default bitrate limitation 2017-09-29 11:53:22 +02:00
Benjamin Reis
63095a3016 re-init streams after stoping them when restarting an invte 2017-09-27 14:41:26 +02:00
Benjamin Reis
10d2a21d0c better reason management 2017-09-26 16:04:05 +02:00
Benjamin Reis
56efb47f2c Fix NULL reason header & missed call when time out 2017-09-26 15:17:01 +02:00
Jehan Monnier
e9a83366ea complete gruu implementation. 2017-09-26 14:12:02 +02:00
Erwan Croze
76ccd7c138 Fixing warning in linphonecall.c
linphone_call_handle_stream_events - cast double to float
2017-09-21 17:14:40 +02:00
Simon Morlat
d3cef31cc5 Fix crash when trying to cancel a non-existing INVITE transaction 2017-09-18 16:09:05 +02:00
Simon Morlat
ed5f18e32b Merge remote-tracking branch 'origin/dev_ice_defered_response' 2017-09-16 11:01:04 +02:00
Simon Morlat
30d04d4ca7 Indicate mediastreamer2 a maximum output bitrate, so that rate control algorithm can use it. 2017-09-14 17:43:50 +02:00
Simon Morlat
b957318fa0 implement defered ICE response to reINVITE, as defined by RFC.
This produces when the Controlled side hasn't finished yet with its check list processing, while the controlling side has finished and has sent a reINVITE with remote-candidates.
In this case of the 200Ok of the reINVITE must be delayed to the point where the controlled side finishes its check list processing.
2017-09-14 10:05:45 +02:00
Simon Morlat
e53139f315 - don't recreate RtpSession in case of call restart
- create them at the very beginining of the call so that app can access rtp modifiers in IncomingReceived and OutgoingInit states.
2017-09-12 12:11:08 +02:00
Mickaël Turnel
f164137ad2 Fix the reception of tmmbr for the callback 2017-09-12 12:02:11 +02:00
Simon Morlat
8ef0c3e2ff fix crash when receiving an ortp event without packet (temporary fix, a better one is coming) 2017-09-11 21:10:26 +02:00
Mickaël Turnel
81cb216c22 Add a callback to get TMMBR values 2017-09-11 14:45:00 +02:00
Mickaël Turnel
a554ad1c91 Add estimated download bandwith stat for video calls 2017-09-11 14:45:00 +02:00
Simon Morlat
e19c213241 Clear refcounting of LinphoneVideoDefinition object. 2017-09-08 15:15:33 +02:00
Simon Morlat
d0ad8713cd Fix : don't trigger legacy stun tests when ICE is enabled 2017-09-08 15:14:48 +02:00
Benjamin Reis
1c2b5ab29c Add accepted elswhere and declined elsewhere call status, do not display this status as missed + tester 2017-09-08 15:14:35 +02:00
Jehan Monnier
1948fbcb07 Revert most of Ronan refactoring to avoid to much instability on master. 2017-09-08 15:13:34 +02:00
Ronan Abhamon
35268a12e6 fix(call): avoid memory leak 2017-09-06 10:11:32 +02:00
Ronan Abhamon
14d74d7529 fix(call): avoid crash in sal_op_set_and_clean_contact_address 2017-09-06 09:31:09 +02:00
Ronan Abhamon
0feb3684f5 feat(core): avoid invalid cast (SalAddress <-> LinphoneAddress) 2017-09-05 13:59:54 +02:00
Ronan Abhamon
1c3bcf0b16 feat(core): big refactoring & full c address impl 2017-09-05 13:59:54 +02:00
Simon Morlat
0fa81fc74d Clear refcounting of LinphoneVideoDefinition object. 2017-09-01 12:43:41 +02:00
Simon Morlat
e095830bb6 Fix : don't trigger legacy stun tests when ICE is enabled 2017-08-31 13:45:57 +02:00
Benjamin Reis
94a0af4119 Add accepted elswhere and declined elsewhere call status, do not display this status as missed + tester 2017-08-30 17:06:37 +02:00
Ghislain MARY
0babed04f4 Use ChatRoom C++ class. 2017-08-30 10:27:51 +02:00
Benjamin Reis
ab41ae3c45 add gruu support 2017-08-25 11:39:37 +02:00
Simon Morlat
784f2bb8ef reset bandwidth controller between state and upon network changes 2017-08-01 15:59:19 +02:00
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