659 Commits

Author SHA1 Message Date
paweldomas
a63f66ac12 Adds error codes to be used by TURN server. Patch by Aakash Garg. 2014-05-10 13:36:35 +00:00
boris
4f23fb021d Determines whether ice4j is running on an Amazon EC2 instance
by trying to connect via HTTP.
2014-05-07 15:22:19 +00:00
lubomir.marinov
b8b11d13b5 Cleans up the background Threads associated with TURN candidates more explicitly/aggressively/thoroughly in an attempt to mitigate a leak of such reported by Enrico Marocco. 2014-04-29 20:28:28 +00:00
boris
6370fbca8f Improves logging. 2014-03-07 20:02:07 +00:00
emcho
fa3e6c8357 Adds support for socket timeouts. Contributed by Enrico Marocco 2014-03-04 11:26:39 +00:00
emcho
945dcae9c0 Calling ec2metadata seems to be causing issues on some machines. Changes detection to just work by detecting if it's there. 2014-03-02 02:37:44 +00:00
lubomir.marinov
ed46200858 Fixes warnings about unused imports. 2014-02-24 07:34:49 +00:00
emcho
3707dbc975 adds a NAT mapping harvester test case 2014-02-21 10:52:08 +00:00
emcho
55082823dd Adds a harvester for Amazon AWS EC2 instances. Adds a mapping harvester for manual configuration on NATed servers. Removes legacy support for Google ICE. Hooray 2014-02-21 00:45:49 +00:00
lubomir.marinov
e597dac9e6 Fixes warnings. 2014-02-18 06:41:34 +00:00
lubomir.marinov
0278d355f9 Fixes a deadlock between Agent.free() and StunClientTransaction observed in Jitsi Videobridge. 2014-02-13 12:19:49 +00:00
paweldomas
2483f4dec8 Fixes run-xx targets. 2014-02-13 08:51:31 +00:00
paweldomas
9eb8f7ec0a Removes test classes from output jar file. 2014-02-11 10:38:23 +00:00
lubomir.marinov
58f9e29c82 Uses a single Thread per StunStack to expire StunServerTransactions in order to reduce the total number of utilized Threads. 2014-02-11 07:54:43 +00:00
lubomir.marinov
987512ede1 Uses a Thread pool for StunClientTransaction in order to improve performance. 2014-02-10 07:38:55 +00:00
lubomir.marinov
d5c2fa6c8d Fixes the Ant target rebuild, warnings. 2014-01-03 12:13:52 +00:00
lubomir.marinov
4c132cccd6 Simplifies code for the purposes of readability. 2014-01-03 11:23:41 +00:00
emcho
8b3280cf93 Work in progress on emission Trickle ICE support 2013-12-03 12:33:16 +00:00
lubomir.marinov
ce75f1e7b1 Logs a couple of debug messages to warn about potential programming errors. 2013-11-29 19:57:16 +00:00
lubomir.marinov
062e335b38 Prevents host candidates with loopback addresses. Patch by Emil Ivov. 2013-11-26 12:48:37 +00:00
paweldomas
1071e0890c Commits Jakub Adamek patch that improves logging and fixes reaction on InterruptedException. 2013-11-21 19:02:25 +00:00
paweldomas
9964e3f296 Extracts PTCP into separate test suite. Adds debug PTCP sample target. 2013-11-21 18:55:20 +00:00
paweldomas
afd937ee54 Commits Carl Hasselskog patch for feeding PTCP stack's clock with valid time values. 2013-11-21 18:51:46 +00:00
paweldomas
24a6f9a95d Commits comibned Carl Hasselskog and Jakub Adamek patches for PTCP deadlock fix. 2013-11-21 18:41:42 +00:00
lubomir.marinov
137de02c4f Fixes an issue which could cause CPU starvation while receiving from MultiplexingDatagramSocket. 2013-11-20 08:55:51 +00:00
paweldomas
140de712e7 Returns null instead of "null" String from getHostAddress. Adds a check for null in toString(). 2013-11-14 09:02:30 +00:00
lubomir.marinov
a0f6622934 Fixes typos, warnings, repetitive method invocations. 2013-11-13 21:46:37 +00:00
lubomir.marinov
a83c5b4be5 Optimizes the calculation of CandidatePair priority. 2013-11-13 21:45:04 +00:00
lubomir.marinov
c73c5ef83d Fixes a failure to close a Socket. 2013-11-13 21:44:08 +00:00
paweldomas
8cfe630e79 Loops on copy of parent checklist to prevent ConcurrentModificationException. 2013-11-13 20:48:21 +00:00
paweldomas
f0cb093ff3 Fixes NPE when InetAddress is null in TransportAddress.getHostAddress(). 2013-11-13 20:43:04 +00:00
paweldomas
d304978b6d Applies Jakub Adamek patch that adds NO_KEEP_ALIVES property which can be used to disable STUN keep alives. 2013-09-18 07:20:33 +00:00
paweldomas
d61650957a Applies Jakub Adamek patch that fixes Pseudo TCP on Android, improves logging and fixes serious bug in the int read() method. 2013-09-18 06:53:26 +00:00
paweldomas
08633a3b66 Applies Jakub Adamek patch that skips unnecessary nomination. 2013-09-17 11:54:32 +00:00
paweldomas
db9a4f2deb Applies Jakub Adamek fix for recognizing TURN packets. 2013-09-17 11:44:21 +00:00
paweldomas
25de80c37c Applies Jakub Adamek patch that increases keep alive Tr value from 3 to 15 seconds recommended as minimum in RFC6263. 2013-09-17 11:37:25 +00:00
paweldomas
f959ccfeb1 Applies logging improvements patch submitted by Jakub Adamek. 2013-09-17 11:20:51 +00:00
emcho
e46ec4c494 Starts work on receiving semantics for Trickle ICE 2013-06-26 01:53:45 +00:00
emcho
207a963196 Completes a first version of offerer semantics for Trickle ICE. Organizes logging and stats a bit. 2013-06-26 00:26:48 +00:00
emcho
c4278af39c Improves logging. Starts work on SDP utilities for use with SIP and WebRTC. Starts work on trickle ICE. 2013-06-24 21:06:31 +00:00
hristo
e6f719c503 Adds timeout for reading the response from discovered devices. 2013-04-25 14:56:58 +00:00
paweldomas
26b72cbb20 Decreased receive buffer size in PseudoTcpSocketImpl that caused invalid packets to be logged into .pcap file. Filled missing javadoc. 2013-03-22 11:49:34 +00:00
paweldomas
e4b0014b88 Applied part of the patch submitted by Carl Hasselskog on dev list. Fixed a NullPointerException that occurred for instance when an SSLSocket called getTcpNoDelay() on PseudoTCPSocket. PseudoTcpSocketImpl returned null but the SSLSocket assumed it would be true/false. Improved logging to better detect if someone is trying to get some other option that would return null. 2013-03-22 11:41:26 +00:00
emcho
f665337062 Deals with developer unreliability issues (fixes wrong detection for ICE completion) 2013-03-21 19:14:55 +00:00
emcho
a9d4dc4406 Keeps the Conn Check Server going until we free the agent at the end of a call, so that we can answer STUN binding requests (that Chrome's WebRTC impl seems to be using to determine if we're still there 2013-03-21 00:30:42 +00:00
lubomir.marinov
4cc6d4ab72 Fixes warnings. 2012-12-12 01:21:04 +00:00
lubomir.marinov
362722f555 Prevents a NullPointerException in Connector#stop(). Removes a few @Override annotations from abstract method implementations because they are not compatible with Java 5. 2012-11-06 12:17:07 +00:00
chenzo
59f3034f00 Adds HarvestingTimeStat calls. 2012-10-09 07:42:39 +00:00
chenzo
19c2d4767c Improves harvesting time stats: 1) number of harvests and 2) total harvesting time for each harvesters. 2012-10-05 16:05:17 +00:00
chenzo
523236d6ce Corrects harvesting time for disabled harvester. 2012-10-05 14:11:19 +00:00