311 Commits

Author SHA1 Message Date
seb
cae2e2ec9c Fixes connection negociation in LAN for Google's ICE variant. 2011-10-18 09:50:30 +00:00
seb
d6c1ab0097 Fixes blocking state connecting/incoming call. 2011-10-17 15:28:12 +00:00
seb
bee319845b Fixes a problem with symmetrical NAT (detected with a test on 3G network). 2011-10-17 14:35:20 +00:00
seb
1d8fd98bd5 Fixes ICE failed case where Gmail user calls to Jitsi ones with SSLTCP only (when connecting to remote SSLTCP relay, the SSL handshake was not done). 2011-10-14 08:56:28 +00:00
seb
ee0c31e444 Lower log level for keep-alive and useCandidate stuff. 2011-10-13 15:04:55 +00:00
seb
44fd1c4a06 Fixes cases with peer-reflexives Candidate as well as some calls initiated from Gmail. Fixes framing length calculation and some missing implemented methods reported by Ingo Bauersachs on dev mailing-list. 2011-10-13 14:51:33 +00:00
seb
b6213785aa Handle correctly TCP framing header for both local and relayed TCP socket. Also check that we read framing length before passing up to applications. 2011-10-13 11:36:57 +00:00
seb
338409c769 Fixes Google's ICE with TCP transport. 2011-10-12 15:11:19 +00:00
seb
fab4966215 CandidatePair can be updated with useCandidateReceived even if the state is not succeeded. 2011-10-10 12:57:51 +00:00
seb
3cc3c94b63 Search the candidate pair with local and remote frag rather than local and remote address for Google ICE. Handles the TCP connect in separate threads in order to not block the start of ICE. 2011-10-07 15:23:49 +00:00
seb
169e56c22f Fixes two deadlocks. Also do not answer to a Google's binding request if we do not know yet the local/remote ufrag (this case can happen if we receive binding checks before we start ICE connectivity checks) because it will in certain circumstances choose a different active candidates than the remote peer.. 2011-10-06 14:57:05 +00:00
seb
ef03b44b3a Avoids getting to the nominators when a selected pair is available for a component. Fixes the way we know that a local pair is a relayed candidate for the FirstHostOrReflexive strategy. 2011-10-03 15:37:22 +00:00
seb
dce3326061 Synchronized Message's attributes operations as it can cause ConcurrentModificationException sometime. 2011-09-23 08:15:00 +00:00
seb
547c568d9d Avoids send error message to transaction that has already sent a response. 2011-09-22 15:33:51 +00:00
seb
6d912a0fa1 Fixes case where LocalCandidate object has not ufrag set which can lead to NullPointerException. 2011-09-21 08:25:07 +00:00
seb
51e10fcf16 Adds additionnal logs. 2011-09-14 09:59:54 +00:00
seb
609929087d Adds a TCP connect timeout when creating ICE connectivity check list. 2011-09-12 09:52:20 +00:00
seb
f8cb1a05b2 For standard ICE (RFC5245), send STUN binding indication keep-alives after ICE finished with COMPLETED state. 2011-09-09 15:52:37 +00:00
seb
03a1a11644 Supports for XOR-PEER-ADDRESS attribute for GTalk compatibility mode (as Empathy/libnice uses this attribute instead of MAPPED-ATTRIBUTE). 2011-09-08 11:15:03 +00:00
seb
47c73815a9 Fixes a recursion problem in Candidate.equals which happen by comparing two RelayedCandidates with same address/port. 2011-09-01 14:37:09 +00:00
seb
14e1a3f8a2 Fixes problem when UPnP is used with Google Talk call. 2011-08-08 15:39:38 +00:00
seb
67b8a98f57 Avoids GTalk's ICE state being TERMINATED. 2011-07-21 12:59:45 +00:00
seb
205df6ac70 Adds support for Google's TCP candidates as well as Google TURN TCP and SSLTCP harvesters. 2011-07-20 15:05:19 +00:00
seb
c91bfae9b0 Fixes problems with server reflexives address checks (as all local candidates has their own ufrag we will not remove server reflexive candidates when pruning checklists. Handles STALE_CREDENTIALS error due to checks being sent too quickly to a remote peer that does not process candidates IQ yet. 2011-06-10 14:06:05 +00:00
seb
16617e7234 Find the GTalk CandidatePair based on its local and remote username. 2011-06-09 14:16:32 +00:00
seb
b687bdb9eb Support of the Google ICE dialect (UDP only for now). 2011-06-09 08:47:22 +00:00
seb
ab5a3f7b00 Handle only one nomination confirmed and thus selection of pair per Component. 2011-06-09 07:10:44 +00:00
seb
b5e2234962 Source code formating for the attribute classes, fix buggy attribute length calculation, add attributes from _old_ TURN draft specification. 2011-06-03 14:39:08 +00:00
seb
768db27837 Fix a possible ConcurrentModificationException in CredentialsManager. 2011-05-26 14:21:49 +00:00
seb
17e931572e Add logs when a pair check fails (received binding error response, non-symmetric response, ...). 2011-05-25 06:53:24 +00:00
seb
518e661a82 Parallelize UPnP search for WANIPConnection and WANPPPConnection. 2011-05-19 06:49:03 +00:00
seb
36415b82c1 Fix typos. 2011-05-13 08:45:13 +00:00
seb
74aaab04a7 Update weupnp library. 2011-05-12 15:51:03 +00:00
seb
e348e8a436 Additionnal logs for UPnP. 2011-05-12 10:11:39 +00:00
seb
44d286cdee Update weupnp lib (bring back HTTP timeout and reducing UPnP broadcast timeout). 2011-04-26 12:36:09 +00:00
seb
9353abd320 Add also the HostCandidate used for UPnP gathering as it is needed for peer reflexive detection. 2011-04-19 15:04:06 +00:00
seb
7dccafc489 Update weupnp lib (that add support for linux-igd), also code formatting and Javadoc fixes. 2011-04-19 08:41:48 +00:00
seb
9f872e3c27 Add weupnp.jar which works correctly on Windows (determine local address of a socket). 2011-02-24 17:24:12 +00:00
seb
0625a6c33a Attempt to read a maximum of 1500 bytes for the TURN ChannelData socket. 2011-02-24 17:03:06 +00:00
seb
1358438efd Addtionnal logs: harvester type and server address for the selected components, and candidate type for each address gathered. 2011-02-24 10:31:01 +00:00
seb
67cd08ad0c Fix an infinite loop if UPnP AddPortMapping action never succeed. 2011-02-17 10:16:11 +00:00
seb
1db2650514 Update UPnP library (Add timeout for HttpURLConnection). 2011-01-13 12:21:26 +00:00
seb
ad79151b1f Add UPnP harvester support. 2010-12-21 10:29:04 +00:00
seb
71c4c28298 Fix a mistake (using HostCandidate instead of RelayedCandidate). 2010-12-20 16:28:59 +00:00
seb
18e6036b97 Add a new nomination strategy which consists in nominate first host or server reflexive candidate. If relayed candidates are first validated, wait some time to see if no host or server reflexive candidates get validated and be nominated instead of relayed ones. Note that this strategy is not the default and thus need to be explicitely set via Agent's setNominationStrategy method to be used. 2010-12-17 17:44:27 +00:00
seb
47d0918dce Add some log outputs. 2010-12-13 17:20:13 +00:00
seb
cfa0e2973d Change Candidate's get/setTurnServerAddress() to get/setRelayServerAddress() to be more generic in naming relays. Typos and text formatting. 2010-12-09 10:29:58 +00:00
damencho
7e868bb3f1 Introduce PacketLogger, implementers can log all received or sent packets by the stack. 2010-12-07 13:44:04 +00:00
seb
15b6780ccf * Fix a bug when the TURN ChannelData data is padded, it results of the ChannelData to be discarded;
* Allow remote candidates to be injected while ICE processing is running;
 * Support different remote ufrag/password for streams.
2010-12-06 16:41:58 +00:00
seb
fc3e411657 Initialize the Binding Response's MESSAGE-INTEGRITY attribute with the same username as the request. Now ice4j should correctly work with Empathy. 2010-11-29 16:22:54 +00:00