Commit graph

120 commits

Author SHA1 Message Date
Simon Morlat
a5a65227b3 Repair multicast when ipv6 is enabled. 2016-10-18 23:10:21 +02:00
Jehan Monnier
b4e51b12da expose diversion header at call level 2016-09-28 14:50:06 +02:00
Simon Morlat
1bc6f63db2 media_localip is guessed from signaling using call->dest_proxy. This ease the use of liblinphone on a machine with two interfaces (typically a one being a vpn).
Clean things around sal.c and sal_impl.c
2016-09-06 11:16:10 +02:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Sylvain Berfini
489c03a89c Fix issue with trim function 2016-07-11 15:22:07 +02:00
Ghislain MARY
300c8b8737 Fix build for Windows 10. 2016-07-04 15:20:13 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Simon Morlat
62703c016c robustize IPv6 support for heterogenous cases.
Also, the RTP sockets are now always IPv6 when ipv6 is enabled in LinphoneCore,
independently of what is finally proposed in SDP, so that these sockets can always send and recv
with both versions.
This is consistent with what is already done in belle-sip for SIP sockets.
2016-05-12 23:33:33 +02:00
Simon Morlat
8c521d1ba3 implicit avpf bugfixes: do not configure encoders to use avpf if avpf is not accepted or offered by remote. 2016-04-29 15:13:05 +02:00
Johan Pascal
0a0f714cdd improve ZRTP hash management
- start ZRTP on incoming zrtp-hash even when not selected locally
2016-04-15 11:46:43 +02:00
Johan Pascal
02ebeac3f1 Manage zrtp-hash attribute
- ZRTP engine is always initialised even when not selected
2016-04-11 10:54:53 +02:00
Jehan Monnier
29e0109c53 -Publish are now implemented using LinphoneEvent API. 2016-02-02 18:54:39 +01:00
Jehan Monnier
a1c8d9f99c make sure in case of SRTP DTLS enabled, ice reinvite is disabled & mandatory encryption is activated 2016-01-15 15:36:38 +01:00
Sandrine Avakian
f83d50db02 Fixing bugs on implicit RTCP feedback:
-AVP implicit to AVP implicit calls now using RTCP feedback packets.
-Fixing bugs in call_tester.c
2015-12-23 10:38:56 +01:00
Sandrine Avakian
ebf0f4c033 Fixing problem with trr_interval set to 0 in some cases. 2015-12-18 17:13:19 +01:00
Ghislain MARY
fb6d0dd135 Merge branch 'dev_presence_list' 2015-12-18 15:01:10 +01:00
Gautier Pelloux-Prayer
aa719921dd sal.c: invalid use of size_t in remove_trailing_spaces 2015-12-09 11:59:10 +01:00
Sandrine Avakian
91f63591f7 Added boolean parameter implicit_rtcp_fb in LinphoneCallParams and SalStreamDescription to enable or disable the forcing of AVPF messages feature in AVP.
By default, the feature is enabled and RTCP feedback messages PLI, SLI, RPSI and FIR are supported.
2015-12-07 15:19:29 +01:00
Ghislain MARY
9282915a1c Handle multipart contents. 2015-11-27 11:42:10 +01:00
Ghislain MARY
edd42fcf1b Rework sal to be able multipart LinphoneContent objects. 2015-11-26 15:28:36 +01:00
Simon Morlat
1dc50acfd1 fix avpf attributes not set when SRTP-DTLS is used. 2015-10-15 11:42:11 +02:00
Ghislain MARY
b025abb63a Fix useless media restart on ICE re-invite. 2015-10-08 14:05:15 +02:00
Ghislain MARY
c149a6da7e Add API to handle custom SDP attributes. 2015-10-07 10:55:10 +02:00
Simon Morlat
1f394e8622 various improvement to help debugging 2015-10-03 17:54:04 +02:00
Ghislain MARY
61ac1f8173 Fix compilation warnings when building for Windows 10. 2015-10-01 14:29:00 +02:00
Ghislain MARY
04185679c7 Fix bug 0002495: ICE restart doesn't work as expected.
A change in ICE credentials in the SDP detects an ICE restart and triggers stream reconstruction.
2015-09-28 17:04:51 +02:00
Sylvain Berfini
84a59d62f1 Fixed nb_stream variable in resultdesc and fixed test to detect change between two media descs 2015-09-18 14:52:01 +02:00
Sylvain Berfini
405ca6abbd Fix stream indexes computed too late 2015-09-17 11:35:57 +02:00
Sylvain Berfini
c8f1f3b61e Do not use anymore nb_streams but SAL_MEDIA_DESCRIPTION_MAX_STREAMS and skip inactive ones because active streams won't be at the start of the array anymore 2015-09-16 15:23:01 +02:00
Sylvain Berfini
15b6353e30 Started rework of streams' indexes for RTT 2015-09-15 17:27:40 +02:00
Simon Morlat
0d87a22d1d fix bugs in Paused state management. It was possible to transition from Paused to PausedByRemote, which actually breaks the Paused state, and eventually allows the pauser to be resumed by the paused. 2015-09-03 21:39:58 +02:00
Simon Morlat
c88685b194 fix memory leak and windows build 2015-06-05 12:14:56 +02:00
Jehan Monnier
258366937a implement re-invite from multicast to unicast call. 2015-05-13 09:15:29 +02:00
Jehan Monnier
213206027f rework dtls start 2015-02-18 17:56:47 +01:00
Jehan Monnier
e1291ba3ea rework a bit dtls 2015-02-17 17:05:10 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Simon Morlat
16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
johan
0cd9605644 Add Dtls proto when looking for best stream in media description 2014-12-11 14:52:59 +01:00
Johan Pascal
b986af3733 Add dtls srtp 2014-12-10 15:11:36 +01:00
Simon Morlat
3e1e3c93f4 fix crash when declining an update
refine conditions for refusing an UPDATE
2014-09-25 14:15:06 +02:00
Simon Morlat
c6a3053756 fix incorrectly named functions and compilation errors due to merge 2014-09-08 19:05:43 +02:00
Simon Morlat
f4a4a6440b Support for incoming UPDATEs within dialog.
For tests, the possibility to send an UPDATE with linphone_core_update_call() has been added thanks to a $
Added possibility to configure Supported SIP header.
2014-09-08 19:02:29 +02:00
Gautier Pelloux-Prayer
aed5bd789a Improve tunnel test: check that SIP packet actually use the tunnel 2014-09-08 14:20:31 +02:00
Gautier Pelloux-Prayer
82ec76a4e1 Reuse previous nonce if outbound proxy realm is set to avoid reauthentication 2014-07-25 14:37:01 +02:00
Ghislain MARY
6f95bbc5d2 Fix bug 0001279: Wrong usage of n_active_streams in the media descriptions.
Inactive streams are now allowed between active streams in the SDP.
2014-06-10 13:26:41 +02:00
Ghislain MARY
2110281d2e Handle AVPF and SAVPF profiles. 2014-06-02 11:02:40 +02:00
Gautier Pelloux-Prayer
4386f18b21 replace tabs with spaces and remove trailing spaces 2014-04-22 17:22:51 +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
0762b56a36 Quality reporting: let the config file choose if it should enable or not this feature (per account choice) 2014-04-17 16:38:51 +02:00
Gautier Pelloux-Prayer
40d688f569 Quality reporting: add security in get_dialog_id method since dialog might be null 2014-04-17 16:38:39 +02:00