777 Commits

Author SHA1 Message Date
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
chenzo
9d94eba147 Updates rel-addr/rel-port management. 2012-10-05 12:34:11 +00:00
emcho
672a43c017 Changes javadoc directory to match those of Jitsi and libjitsi for easier nightly generation 2012-10-04 16:50:54 +00:00
chenzo
6cbdcae872 Adds extra function to export the total harvesting time. 2012-10-04 09:09:06 +00:00
chenzo
ac5cf14be0 Adds extra function to export harvesting time. 2012-10-02 09:23:40 +00:00
chenzo
e4c70ba522 Adds functions to get the host/reflexive/relayed address of the selected candidate pair. 2012-10-01 09:22:06 +00:00
chenzo
8f51251658 Applies first part of Carl Hasselskog patch: UPnP potential deadlock, Connector closing, CandidateHarvesterSet thread pool merged. 2012-09-12 10:03:22 +00:00
paweldomas
0ee1c41582 Changes to Pseudo Tcp:
- fixes bug with connect packet and disabled window scaling
- disables window scaling by default
- adds isConnected method in PseudoTcpSocket
2012-09-04 18:20:24 +00:00
paweldomas
40e8c691e1 Added support for timeout on read and write operations for PseudoTcpSocket 2012-08-25 09:04:03 +00:00
chenzo
71e4dec419 Corrects connectivity check client nerver terminate (Jingle only). Reported by Lyubomir Marinov: org.ice4j.ice.ConnectivityCheckClient.run() will skip a check beat. 2012-08-24 15:07:32 +00:00
chenzo
3a470c287e Corrects the problem of truncated datagram packets at reception (for packets truncated by the java stack and not by the network). 2012-08-23 12:19:51 +00:00
chenzo
da600aef0c Corrects STUN packet length computation as pointed outby Pawel Domas. 2012-08-22 09:12:51 +00:00
chenzo
e161411a9b Improves detection of STUN packets (MAGIC_COOKIE and valid length header field). 2012-08-21 16:19:00 +00:00
paweldomas
0856c4dfdf -fixes few bugs
-code style improvements
-added PseudoTcpSocketFactory(usage changed, see test.IcePseudoTcp example for reference)
2012-08-21 14:24:10 +00:00
chenzo
139ac8a12f Handles TCP socket when closed by remote host (which previously triggers numerous illegal length excpetion). 2012-08-21 14:13:32 +00:00
paweldomas
757aef02d4 -fixed race condition in notification about new data available for reading
- default MTU set to 1450
2012-08-16 12:00:32 +00:00
paweldomas
02a9f7e7af Includes ByteFifoBufferTest in the test suite 2012-08-13 07:43:09 +00:00
paweldomas
757ea6196c Fixes:
- infinite recursion in write() of PseudoTcpOutputStream
- write/read with offset of pseduo tcp streams
Adds:
- unit tests for all read/write methods of pseudo tcp streams
2012-08-13 07:39:18 +00:00
lubomir.marinov
f0dcc54a20 Removes Override annotations to fix compilation errors. Replaces tabs with spaces. 2012-08-12 17:40:08 +00:00
paweldomas
2137c337ef Fixes pseudoTcp unit tests 2012-08-11 07:43:28 +00:00
chenzo
dfcde11376 Adds password support for google relayed candidate. 2012-08-10 13:34:49 +00:00
paweldomas
f2529200be - PseudoTcpSocketImpl extends java.net.SocketImpl
- fixed example IcePseudoTcp
- pseudo TCP tests are included in test suite
2012-08-10 09:03:29 +00:00
lubomir.marinov
290572f32f - Adds Eclipse .project and .classpath files to ease the import of the project into the IDE.
- Removes Override annotations on interface implementations to avoid compilation errors.
- Overrides hashCode in a class which overrides equals in order to maintain the general contract of the hashCode method and to avoid possible (future) issues related to hashtables.
2012-07-30 21:12:49 +00:00
chenzo
12e275f640 Corrects null pointer exception when trying to log a packet whereas the socket is already closed. 2012-07-26 14:15:20 +00:00
chenzo
271dc3b9b4 Reduces log information about harvesting time. 2012-07-19 14:07:44 +00:00
paweldomas
fa8ec11955 Added pseudoTCP 2012-07-18 13:38:19 +00:00
chenzo
46400e0009 Merges code about checking ports for HostCandidateHarvester. 2012-07-13 07:18:59 +00:00
chenzo
6d42555340 Adds log information about candidate harvest time for each harvester. 2012-07-11 16:33:03 +00:00
chenzo
bdce4653bd Applies patch 5 and 6 from Daniel Pocock: [jitsi-dev] refreshing patches. 2012-07-11 13:10:15 +00:00
chenzo
5f278f72e4 Corrects disable IPv6 properties variable name (StackProperties) and its use (HostCandidateHarvester) as reported by Daniel Pocock. 2012-07-09 08:26:28 +00:00
chenzo
25574cea72 Applies patch 1, 2, 3, 4 and 7 from Daniel Pocock: [jitsi-dev] refreshing patches. 2012-07-06 15:39:46 +00:00
chenzo
891392e18a Puts the Agent into WAITING state when creating a new media stream. This way all incoming connectivity checks are added to the preDiscoveredPairsQueue until this Agent turn back intro RUNNING state. 2012-07-06 11:55:21 +00:00
chenzo
c17fa4675a Corrects a java under MAC OSX bug when dealing with ipv6 local interface:
the destination address (as well as the source address) under java / MAC OSX
must have a scope ID, i.e.  "fe80::1%en1".
2012-07-04 16:19:22 +00:00