Commit graph

65 commits

Author SHA1 Message Date
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
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
Ghislain MARY
2a827ff58a Some fixes of bugs introduced with redesign of interaction between ICE and media descriptions. 2012-08-06 17:08:06 +02:00
Ghislain MARY
5742b453cd Handle conversion between media description and ice session. 2012-08-06 11:41:29 +02:00
Ghislain MARY
f97f51d4f3 Specify local RTCP port explicitly. 2012-07-23 14:28:19 +02:00
Ghislain MARY
55cb3fa3ed Parse the rtcp attribute in the SDP if present. 2012-07-23 13:37:10 +02:00
Ghislain MARY
6857091ea9 Moved ICE session and check lists respectively from LinphoneCall and SalMediaDescription to SalOp. 2012-07-19 15:03:27 +02:00
Ghislain MARY
91c9eff049 Copy ICE check list pointers between media descriptions. 2012-07-19 15:03:27 +02:00
Simon Morlat
31e817b49e workaround for SDP offers with zero ports 2012-06-04 12:23:37 +02:00
Pierre-Eric Pelloux-Prayer
f40bd13c63 srtp: fix crypto line tag handling
We were answering with the local tag index matching the remote crypto
algo; instead of using the remote tag
2012-03-02 14:45:34 +01:00
Yann Diorcet
221c0c5806 Initialize ls to NULL 2012-02-29 12:53:18 +01:00
Simon Morlat
0892b55ddc decline unsupported protocols in SDP 2012-02-28 20:27:23 +01:00
Jehan Monnier
72f4bdd96c fix usage of non default srtp key 2011-12-15 10:04:11 +01:00
Simon Morlat
7c514d326b fixes for sRTP support 2011-11-21 22:25:23 +01:00
Pierre-Eric Pelloux-Prayer
e700695989 srtp: add SRTP support to Linphone 2011-10-04 17:57:52 +02:00
Simon Morlat
d06faa9190 keep local payload types offered in call profile in case the remote end wants to use them despite it didn't accepted them. 2011-06-24 14:11:47 +02:00
Simon Morlat
4d7ab1c95d fix crash because of payload types freed when receiving a new SDP (after early media for example), but media sessions are not restarted. 2011-05-31 10:34:34 +02:00
Simon Morlat
d4bd761020 fix incorrect rtp ports with stun discovery, for incoming calls only 2011-05-20 10:55:45 +02:00
Simon Morlat
bcd49ee2e8 merge patch bringing SDP compliance improvements 2011-02-07 12:03:00 +01:00
Simon Morlat
236335de1b again bugfix for multicall 2011-02-03 14:18:18 +01:00
Simon Morlat
b072921802 multicall bugfixes again 2011-02-03 14:00:23 +01:00
Simon Morlat
53859fc1ea bugfixes in pause/resume 2011-02-03 12:54:42 +01:00