Commit graph

85 commits

Author SHA1 Message Date
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
Sylvain Berfini
5c30c2a318 Merge remote-tracking branch 'origin/belle-sip' into wp
Conflicts:
	coreapi/bellesip_sal/sal_impl.c
	coreapi/misc.c
	tester/call_tester.c
	tester/liblinphone_tester.c
2013-03-01 14:39:38 +01:00
Sylvain Berfini
c3ebf99f5e Fix compilation for WP8 2013-02-27 17:28:15 +01:00
Simon Morlat
4ff35a87df fix offer answer bug when counting active streams. 2013-02-25 17:44:51 +01:00
Ghislain MARY
39bbe2656b Keep the total number of streams and the number of active streams in the media description.
This is to respect section 8 of RFC 3264 ("Modifying the Session"). The
number of streams in the SDP MUST NOT decrease.
2013-01-23 12:25:08 +01:00
Simon Morlat
5e4ac070cc implement edge detection, and automatic configuration of call parameters for low bitrates 2012-09-04 22:02:34 +02:00
Ghislain MARY
4e511fe479 Merge branch 'dev_ice' 2012-08-16 12:01:29 +02:00
Simon Morlat
0203f32f0f fix bug when telephone-event appears first in a remote SDP offer 2012-08-13 09:49:51 +02:00
Ghislain MARY
aef56a9c3a Correctly handle content of SDP when ICE has completed for a specific media stream. 2012-08-07 11:45:47 +02:00