Commit graph

57 commits

Author SHA1 Message Date
Guillaume Beraudo
1b7ed3a9c4 Send ZRTP hello hash in SIP SDP. 2013-03-18 15:58:05 +01:00
Ghislain MARY
992ff8dd1d Fix bug with the keywordcmp macro.
This macro was supposed to be passed a string literal as first argument but was used with a string pointer sometimes.
2013-03-15 10:19:41 +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
Ghislain MARY
3500af3adf Do not update session version in SDP when remote send re-invite without updating it. 2013-01-10 11:15:05 +01:00
Ghislain MARY
c9d11c06b4 Add missing include. 2012-09-12 10:44:45 +02: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
467d83da4c Do not include ICE candidates in the SDP for a media stream with the port set to 0. 2012-08-22 15:54:44 +02:00
Ghislain MARY
423777d8cf Compilation fix. 2012-08-16 14:27:21 +02:00
Ghislain MARY
6f392caf46 Do not set the c= line to 0.0.0.0 to pause a call when ICE is used. 2012-08-13 15:03:17 +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
6f2853c8a0 Redesign ICE integration to prevent Sal from depending on ICE.
- Move the ICE session from the Sal Op to the LinphoneCall.
 - Do not access directly to the ICE session to generate the SDP from
   the media description or to generate the media description from the
   SDP. Instead include ICE attributes in the media description.
2012-08-06 11:16:16 +02:00
Ghislain MARY
623e9e1813 Remove ICE check lists from media streams that are removed from the SDP. 2012-08-01 15:56:34 +02:00
Ghislain MARY
bb80550705 Delete ICE session, when its state is Failed after receiving an answer from the peer (probably caused by ice-mismatch attributes). 2012-08-01 11:34:51 +02:00
Ghislain MARY
3c3051a0be Set the state of an ICE check list to Failed if an ice-mismatch attribute is received for it. 2012-07-27 16:02:31 +02:00
Ghislain MARY
72360e58a5 Check for ICE mismatch and add the ice-mismatch attribute in the SDP if there is a mismatch. 2012-07-27 15:33:28 +02:00
Ghislain MARY
682e19e665 Specify default ICE remote candidates. 2012-07-27 12:10:35 +02:00
Ghislain MARY
dc4c620474 Include ice-ufrag and ice-pwd attributes in RE-INVITE. 2012-07-26 12:21:37 +02:00
Ghislain MARY
cec1d35fed Handle the case where ICE is activated locally but the remote does not support it. 2012-07-26 11:28:26 +02:00
Ghislain MARY
df347a9733 Handle case where ICE is activated and the configured STUN server do not reply. 2012-07-26 10:49:12 +02:00
Ghislain MARY
3cca370ef1 Handle received ICE remote-candidates attribute in SDP. 2012-07-26 09:55:32 +02:00
Ghislain MARY
0ec0c0afa1 Add remote-candidates attributes in the SDP in RE-INVITE when ICE process has processed successfully. 2012-07-25 16:41:31 +02:00
Ghislain MARY
a45b6fbd73 Add raddr and rport values in ICE candidate attributes in the SDP. 2012-07-25 15:32:51 +02:00
Ghislain MARY
dc308bc2c6 Only include ICE candidates matching the default destination for each component of the stream in RE-INVITE for Completed check lists. 2012-07-25 12:54:25 +02:00
Ghislain MARY
55cb3fa3ed Parse the rtcp attribute in the SDP if present. 2012-07-23 13:37:10 +02:00
Ghislain MARY
3d0f4b369b Add RTCP attribute for each media stream when ICE is activated. 2012-07-23 12:03:17 +02:00
Ghislain MARY
1ed0fa066e Re-Invite when ICE processing is finished successfully. 2012-07-23 10:52:53 +02:00
Ghislain MARY
ba85ea0b32 Fix putting media specific c= line in the SDP. 2012-07-20 17:24:38 +02:00
Ghislain MARY
ca3536d4e1 Fix number of media streams in 200 OK SDP. 2012-07-20 10:05:41 +02:00
Ghislain MARY
6066dbc529 Fix ICE roles. 2012-07-20 09:58:59 +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
2ef1e7c9cd Gather ICE candidates on incoming call. 2012-07-19 15:03:27 +02:00
Ghislain MARY
3020133c80 Allocate ICE session when parsing SDP on incoming call. 2012-07-19 15:03:27 +02:00
Ghislain MARY
c93c092cf3 Parse ICE attributes when receiving SDP. 2012-07-19 15:03:27 +02:00
Ghislain MARY
17ea460309 Good connection address and media ports in the SDP when using ICE. 2012-07-19 15:03:27 +02:00
Ghislain MARY
47441a8d38 Add ICE attributes in the SDP content. 2012-07-19 15:03:27 +02:00
Guillaume Beraudo
333520bf85 Fix _sdp_message_get_mline_dir on recvonly attribute. 2012-07-16 11:19:06 +02:00
Pierre-Eric Pelloux-Prayer
4ff98fde11 srtp: take into account that ortp' srtp.h has been renamed ortp_srtp.h 2011-10-06 09:29:42 +02:00
Pierre-Eric Pelloux-Prayer
e700695989 srtp: add SRTP support to Linphone 2011-10-04 17:57:52 +02:00
Simon Morlat
d9e5d1038a fix empty mline again and update ms2 2011-03-31 18:32:16 +02:00
Simon Morlat
a38580d3d4 save more space in SDP by not setting rtpmap for well known payload types 2011-03-17 10:55:39 +01:00
Simon Morlat
800c9a97b1 reduce sdp size (exceeds ethernet mtu!) 2011-03-16 17:37:30 +01:00
Simon Morlat
a4dda1c048 don't set sendrecv (it is the default) 2011-03-16 13:21:07 +01:00
Simon Morlat
5de1f11f05 fix bad free and stupid abort() 2011-02-11 16:30:59 +01:00
Jehan Monnier
6e41246ea2 fix compilation issue on apple 2011-02-10 10:34:20 +01:00
Simon Morlat
bcd49ee2e8 merge patch bringing SDP compliance improvements 2011-02-07 12:03:00 +01:00
Simon Morlat
604a0f271f fix some bugs 2010-09-17 10:14:19 +02:00
Simon Morlat
725638c7bc fix some bugs, cleanups 2010-08-09 14:55:09 +02:00
Simon Morlat
e7918babef merge multicall patch from Aurelien 2010-04-29 11:54:18 +02:00
Simon Morlat
8a5c00ac82 implements global b=AS in sending and receiving side
fix a few bugs with selfview in gui
implements linphone_core_get_sip_socket()
2010-04-19 22:18:04 +02:00
Simon Morlat
42cf5e94ad Merge branch 'master' into dev_sal
Conflicts:
	coreapi/linphonecore.h
2010-03-15 15:10:42 +01:00