Commit graph

65 commits

Author SHA1 Message Date
Simon Morlat
cfb3b3dfd5 edge optimization in progress 2012-08-31 22:07:00 +02:00
Ghislain MARY
5129e306ab Handle IPv6 addresses in parse_hostname_to_addr().
This is needed to correctly handle and IPv6 address set as gateway when
using the nat firewall policy.
2012-08-31 11:20:09 +02:00
Ghislain MARY
29e0c09557 Use accessor function to get ICE check list state. 2012-08-24 10:57:06 +02:00
Ghislain MARY
3b8e54e6ec Check if an ICE check list can be set to the Completed state after adding the losing pairs. 2012-08-24 10:57:05 +02:00
Ghislain MARY
7b6314c381 Set an ICE check list to the Failed state if the corresponding media stream has been deactivated by the peer. 2012-08-24 10:57:05 +02:00
Ghislain MARY
5276606942 Do not delete ICE session when it is in the Failed state.
If the ICE session is deleted it can not be restarted later.
However try to send a re-invite if the session state is Failed but some check
lists have completed successfully.
2012-08-24 10:57:05 +02:00
Ghislain MARY
4e7aa3c6c6 Set the state of an ICE check list to Failed if the peer has set the port of the media stream to 0. 2012-08-22 15:58:13 +02:00
Ghislain MARY
1f9a43a8e8 Prevent crappy RTP and RTCP address if their extraction from ICE fails. 2012-08-22 15:56:59 +02:00
Ghislain MARY
98cfcb39f9 Better loop ending test. 2012-08-16 10:59:14 +02:00
Ghislain MARY
bccc94646a Restart ICE if the c= line is set to 0.0.0.0. 2012-08-13 14:28:31 +02:00
Ghislain MARY
202821d4f5 Merge branch 'master' into dev_ice 2012-08-10 13:21:45 +02:00
Simon Morlat
6f9b9458f7 add config entry to finely select audio stream features 2012-08-09 16:08:21 +02:00
Ghislain MARY
bad089b4a7 Restore ice-mismatch that was broken during redesign of the interface between media descriptions and ICE. 2012-08-09 09:55:02 +02:00
Ghislain MARY
6eb7105258 Restart ICE if remote credentials have changed. 2012-08-08 16:29:54 +02:00
Ghislain MARY
3611187779 Use ICE selected pairs instead of nominated valid pairs. 2012-08-08 11:43: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
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
6d0083a1f4 Asynchronous ICE candidates gathering. 2012-07-31 12:12:06 +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
b11704376f Good timing handling for STUN request during ICE candidates gathering. 2012-07-24 16:03:55 +02:00
Ghislain MARY
d3b07fe32d Eliminate ICE redundant candidates. 2012-07-24 15:04:19 +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
Ghislain MARY
2ef1e7c9cd Gather ICE candidates on incoming call. 2012-07-19 15:03:27 +02:00
Ghislain MARY
f8f3db359c Define ICE session role explicitly. 2012-07-19 15:03:27 +02:00
Ghislain MARY
38af09c6b5 Fix ICE candidates gathering for video stream. 2012-07-19 15:03:27 +02:00
Ghislain MARY
e594edfe34 Compute ICE foundations and choose default candidates when ICE candidate gathering is finished. 2012-07-19 15:03:27 +02:00
Ghislain MARY
1d3aab598e Gather ICE host candidates when starting an outgoing call. 2012-07-19 15:03:27 +02:00
Ghislain MARY
c87250cb9a Gather ICE server reflexive candidates when starting an outgoing call. 2012-07-19 15:03:27 +02:00
Simon Morlat
23d589cec0 fix bugs in call status, write codecs config immediately 2012-06-12 17:22:03 +02:00
Yann Diorcet
ea6dd35f76 Add API to know Call audio/video codec 2012-04-25 15:37:10 +02:00
Yann Diorcet
30eca09f41 add linphone_core_get_payload_type_number in api 2012-04-05 12:43:41 +02:00
Simon Morlat
cd5be1531b avoid prompting password for ping (OPTIONS) requests 2012-03-08 10:51:41 +01:00
Simon Morlat
813213692f retransmit initial STUN requests (they often get lost) 2012-01-17 17:47:44 +01:00
Simon Morlat
c33fa844a7 implement better system for "single instance application" requirement. 2011-09-17 23:09:55 +02:00
Simon Morlat
32196b3732 remove i18n things that belong to mediastreamer2, update french and norwegian languages 2011-04-05 21:23:57 +02:00
Simon Morlat
ec3144465a allow setting of a nat address as hostname 2011-04-04 21:26:45 +02:00
Simon Morlat
cbdabdfbb3 ready for a new release ? 2011-03-25 23:41:48 +01:00
Simon Morlat
e2249d10e4 remove stupid ipv6 info message at first startup 2011-03-08 18:53:02 +01:00
Simon Morlat
53be75eda6 bugfixes again for bandwidth management 2010-12-13 14:36:11 +01:00
Simon Morlat
7b835688e1 bugfixes in bw 2010-12-13 14:24:33 +01:00
Simon Morlat
ff08abbb6a improvements in bandwidth management 2010-12-13 13:42:39 +01:00
Simon Morlat
16972baf9c rework bandwidth management 2010-12-13 10:57:41 +01:00
Simon Morlat
7d90f44fae implement linphone_call_params_set_audio_bandwidth_limit() 2010-11-26 18:20:52 +01:00
Simon Morlat
361c33536e cleanups and fix broken resume 2010-11-26 17:57:28 +01:00
Simon Morlat
f5a6f8e4b6 make use of stun xor mapped address 2010-11-19 11:30:44 +01:00
Simon Morlat
950ab0eb43 configure android resolver with what is accessible in bionic 2010-10-28 11:34:16 +02:00
Simon Morlat
740dbb9041 implements reporting of declined calls 2010-10-26 11:11:02 +02:00