Commit graph

110 commits

Author SHA1 Message Date
François Grisez
86b626d3fe Migration of Sal and SalOp into C++ classes 2017-09-29 17:19:52 +02:00
Ghislain MARY
7588a54016 Convert LinphoneCall to Call C++ class. 2017-09-08 14:15:08 +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
Ghislain MARY
9a23352c4c Stricter compilation options + new compilation error fixes. 2016-10-19 17:31:07 +02:00
Simon Morlat
0ca9c915ac make media_encryption_mandatory work with zRTP - by silencing calls until they are secured.
Add non regression tests for this.
2016-09-15 20:57:21 +02:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +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
8cd3fc9bfa Fix linphone_core_create_call_params(), who should set avpf_rr_interval in all cases.
This solves bugs lots of RTCP spam when call params are not created appropriately.
2016-05-16 17:22:15 +02:00
Simon Morlat
63bc42a555 fix AVPF management in offer-answer. Initiate an implicit avpf offer while implicit avpf is locally disabled
should result in avpf disabled locally for these payloads.
2016-05-09 20:47:28 +02:00
Sylvain Berfini
b38e891025 Updated oRTP/ms2 to fix issue with payload numbers 2016-05-09 11:23:01 +02:00
Sylvain Berfini
89f62e10e9 Prevent crash when reinvite has payload with null mime type 2016-05-06 10:43:56 +02:00
Simon Morlat
51ce29df7d fix payload type flag 2016-05-05 09:52:16 +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
Simon Morlat
9b6ebbc00c refine test about supported tags 2016-03-15 17:18:18 +01:00
Simon Morlat
fa7d1c1733 improve handling of legacy (buggy) opus payload type declarations: do not modify the local payload type. 2016-02-23 17:59:00 +01:00
Sandrine Avakian
1f624ada80 Updating echo cancellation and adding MSFactory into Sal structure. 2016-01-20 15:12:12 +01:00
Sandrine Avakian
a8d978c832 Small fixes for factory integration in linphonecall.c , misc.c and offeranswer.c . 2016-01-19 15:51:02 +01:00
Simon Morlat
2a6213d90c prepare the removal of a=nortpproxy attribute for ICE reINVITE. 2016-01-15 21:59:13 +01:00
Jehan Monnier
1fc31123b8 add lp-auto-answer to make build’s scripts 2016-01-07 11:16:25 +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
Simon Morlat
e6977c6915 fix crash due to payload type being freed twice, and fix a small memory leak 2015-12-05 18:05:09 +01:00
Simon Morlat
6325178af5 Update ms2 and rely on the new specific codec offer answer logic declaration. 2015-12-04 22:27:57 +01:00
Sylvain Berfini
279fa89428 Fixed red payload type fmtp line if payload number different (and added tests for that) 2015-11-13 16:26:26 +01:00
Simon Morlat
2cd6f5f474 implement rtcp-mux, not tested yet. 2015-11-06 13:07:43 +01:00
Ghislain MARY
68ff77160e Fix custom SDP attributes not being put in SDP when updating call or accepting call update. 2015-10-19 11:42:51 +02:00
Ghislain MARY
c6bc74a657 Fix bug #2337: ICE reINVITE triggers streams redraw. 2015-10-08 15:36:35 +02:00
Ghislain MARY
702a5a6fe9 Do not deactivate stream when its remote offer direction is recvonly. 2015-10-02 11:17:01 +02:00
Simon Morlat
0f1cf8b14a fix various recent problems with SDP offer/answer and ICE.
Most problematic was that declined streams were not put in SDP answers.
2015-09-24 16:44:07 +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
Ghislain MARY
53ccb2c564 Handle and add test for AVPF generic NACK. 2015-08-03 12:41:17 +02:00
Ghislain MARY
12629a26b6 Fix bug in AVPF features negotiation + add tests to prevent regressions on this matter. 2015-06-03 10:19:35 +02:00
Jehan Monnier
ccb890ad94 simplify dtls session/media description attributes mgt 2015-02-16 17:50:41 +01:00
Simon Morlat
7798932b93 fix to previous commit: a real local interface must be decided and bound to to send multicast.
For unicast calls, continue to bind to 0.0.0.0 as we need it for multi-homed environments.
2015-02-05 01:16:05 +01:00
Simon Morlat
9b95f24fc3 avoid multiple warnings due to ms_is_multicast() not used correctly, make code stream type agnostic 2015-02-05 00:09:46 +01:00
Simon Morlat
0009864a69 make remote offered fmtp appended to local ones, instead of replacing 2015-02-04 22:25:39 +01:00
Jehan Monnier
8d45f23dfd fix regression in offer/answer due to multicast 2015-02-04 15:31:51 +01:00
Jehan Monnier
06fc0526ec multicast impl 2015-02-04 12:17:14 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Simon Morlat
f48e34c4ee fix bad comment 2015-01-23 12:47:14 +01:00
Simon Morlat
7e52aa54a9 Merge branch 'dev_payloadtypematch' 2015-01-23 12:15:26 +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
Simon Morlat
55973deb0e modularize payload type matching exceptions in offer/answer 2015-01-17 11:58:46 +01:00
Jehan Monnier
3939954500 add ssrc attribute in case of srtp dtls 2014-12-15 13:04:40 +01:00
Johan Pascal
b986af3733 Add dtls srtp 2014-12-10 15:11:36 +01:00
Ghislain MARY
94105aaa1f Handle AVPF RR interval in milliseconds + fix negotiation of rtcp-fb trr-int parameter. 2014-06-19 09:55:19 +02:00