Commit graph

93 commits

Author SHA1 Message Date
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
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
dafdbb3444 Correctly handle negotiation of RTP profiles (APV/APVF/SAVP/SAVPF). 2014-06-04 11:59:50 +02:00
Ghislain MARY
c82463afc1 Handle offer/answer of rtcp-fb parameters. 2014-06-02 11:02:41 +02:00
Ghislain MARY
ad64b94401 Parse rtcp-fb attributes contained in SDP. 2014-06-02 11:02:41 +02:00
Ghislain MARY
2110281d2e Handle AVPF and SAVPF profiles. 2014-06-02 11:02:40 +02:00
Simon Morlat
fbc8f77e3a allow crypto lines to be configured from linphonerc, and improve code handling SRTP crypto lines 2014-05-21 13:11:13 +02:00
Simon Morlat
f6d63524d3 fix declared number of channels in SDP for opus codec, to follow opus-rtp draft.
add ugly hack to allow older versions of linphone to call new versions with opus.
2014-05-01 12:14:05 +02:00
Gautier Pelloux-Prayer
4386f18b21 replace tabs with spaces and remove trailing spaces 2014-04-22 17:22:51 +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
894fd28432 Fix RTCP XR parameters negociation. 2014-03-19 16:07:04 +01:00
Ghislain MARY
07aeef8017 Handle RTCP XR attribute in offer/answer. 2014-03-07 17:02:21 +01:00
Simon Morlat
1af4a7c091 improve SDP<->SalMediaDescription conversion and offer answer algorithm 2014-02-28 16:31:05 +01:00
Jehan Monnier
89f3e2ceda set callid more early, add option to disable uuid (to reduce message size) 2013-07-12 09:04:27 +02:00
Simon Morlat
fc7925235e Merge remote-tracking branch 'public/master' into belle-sip
Conflicts:
	coreapi/upnp.c
2013-03-26 12:06:51 +01:00
Sylvain Berfini
939c0f4ce0 Revert "Send ZRTP hello hash in SIP SDP."
This reverts commit 71f31347fc.

Conflicts:
	coreapi/linphonecall.c
	mediastreamer2
2013-03-22 16:34:09 +01:00
Ghislain MARY
3020dae1e8 Merge branch 'master' of git.linphone.org:linphone into belle-sip 2013-03-20 15:49:45 +01:00
Guillaume Beraudo
1b7ed3a9c4 Send ZRTP hello hash in SIP SDP. 2013-03-18 15:58:05 +01:00