555 Commits

Author SHA1 Message Date
lubomir.marinov
04e0befbef Clarifies, clean the source code. Adds javadocs. Fixes warnings. 2014-09-02 13:17:17 +00:00
boris
40541920f4 Adds a harvester that binds to a specific local TCP port and
demultiplexes the accepted connections between the components that used
it.
2014-08-29 08:28:13 +00:00
boris
c23438f8c2 Add a CandidateTcpType field to candidate. 2014-08-29 08:28:04 +00:00
boris
026bfff995 Saves TCP sockets in NetAccessManager on the basis of both the local and remote address, in order to allow multiple Sockets/Connectors for a single local address. 2014-08-29 08:27:56 +00:00
boris
3c34615d2b Adds an InputStream to MultiplexedSocket. 2014-08-29 08:27:49 +00:00
boris
c95952f0b2 More thorough checks for RTP packets, make sure that no false-positives come from DTLS for example (fix inaccurate loss calculations and "RTP loss >5%" messages being logged). 2014-08-29 08:27:42 +00:00
boris
be112c1aae Saves trickled remote candidates in the remoteCandidate list in Component. Checks for duplicates before adding new candidates. 2014-08-29 08:27:36 +00:00
boris
cf6d78208f Appends a representation of the system time to the generated ufrag-s, in order to decrease the chance of local collisions. 2014-08-29 08:27:30 +00:00
boris
c0e7cd56d6 Adds methods to access the sockets of a CandidatePair. 2014-08-29 08:27:20 +00:00
boris
5108d99220 Minor comment and whitespace fixes. 2014-08-29 08:27:11 +00:00
boris
595727b406 Removes the 'transport' field from Component, because an ICE component
might have candidates with different protocols. Removes a duplicate
method.
2014-08-29 08:27:03 +00:00
boris
9b9fbb71d0 Minor cleanup. 2014-08-29 08:26:51 +00:00
paweldomas
eac04a777d Adds createConnectionIdAttribute() in AttributeFactory class. Patch by Aakash Garg. 2014-08-21 16:27:12 +00:00
paweldomas
5d10a21a96 Adds getter for localAddress in BlockingRequestSender. Patch by Aakash Garg. 2014-08-21 16:07:55 +00:00
paweldomas
f16e86d1a6 Adds setStunStack setter method in Agent class. Patch by Aakash Garg. 2014-08-21 16:03:21 +00:00
paweldomas
97f2938200 Adds implementation of equals and hashCode methods to LongTermCredential class. Patch by Aakash Garg. 2014-08-21 16:00:18 +00:00
paweldomas
24fbe7213c Fixes bug with offset not being taken into account when decoding LifetimeAttribute. Patch by Aakash Garg. 2014-08-21 15:52:08 +00:00
boris
c25c0915b5 Adds a method that allows to check if there is a MultiplexedDatagramSocket for a particular DatagramPacketFilter. 2014-08-05 14:06:30 +00:00
boris
08766354dc Implements RtcpDemuxPacketFilter. 2014-07-30 10:41:54 +00:00
boris
2da5150e14 Minor formatting/spelling fixes. 2014-07-30 10:41:46 +00:00
lubomir.marinov
bc8ab03637 Fixes the compilation on JDK 8. 2014-07-25 06:14:43 +00:00
lubomir.marinov
a3caa371aa Fixes Agent.getHarvestCount() to actually return count and not duration/time. Reported by Luca Antonioli. 2014-07-23 11:10:21 +00:00
lubomir.marinov
ee4721960b Ensures that the lengths of the values of the ice-ufrag and ice-pwd attributes conform to RFC 5245 15.4. "ice-ufrag" and "ice-pwd" Attributes. Reported by Philipp Hancke. 2014-07-22 22:05:28 +00:00
paweldomas
3e6ddf0f16 PseudoTCP performance improvements - patch by Carl Hasselskog. 2014-06-26 19:26:16 +00:00
paweldomas
8949f3f318 Adds method to generate Reservation-Token and overrides toString method in ReservationTokenAttribute. Patch by Aakash Garg. 2014-06-15 19:20:52 +00:00
paweldomas
d6b41e2251 Adds Constructor overload, sendChannelData method, sendUdpMessage method, and other functions for TurnStack and relaying in StunStack. Adds new messageEvent classes with their listener interfaces. Patch by Aakash Garg. 2014-06-15 19:10:50 +00:00
paweldomas
30b940732f Adds function to check if message is ChannelData Message in ChannelData class. Patch by Aakash Garg. 2014-06-15 18:27:42 +00:00
paweldomas
c15ad072e0 Adds createDataIndication method to MessageFactory. Patch by Aakash Garg. 2014-06-15 12:47:06 +00:00
paweldomas
19890097f4 Modifies class access level for RawMessage, StunClientTransaction and StunServerTransaction so that they can be reused for the purpose of implementing TURN server. Patch by Aakash Garg. 2014-06-10 16:33:16 +00:00
paweldomas
7dda8ef7b2 Adds method overload of sendRequestAndWaitForResponse and changes class access modifier. Patch by Aakash Garg. 2014-06-09 19:59:50 +00:00
paweldomas
33030a48ec Fixes bug in decodeAttributeBody and adds static fields in RequestedTransportAttribute class. Patch by Aakash Garg. 2014-06-09 19:52:57 +00:00
paweldomas
d8a5d8016d Adds ALLOCATE_REFRESH_REQUEST request code field to Message class. Patch by Aakash Garg. 2014-06-09 19:40:15 +00:00
paweldomas
9739220564 Renames createPermissionResponse and fixes createChannelBindErrorResponse in MessageFactory. Patch by Aakash Garg. 2014-06-09 19:35:21 +00:00
paweldomas
dce1981d7c Fixes bug in decode method of ChannelNumberAttribute. Adds method for validating channel value range. Patch by Aakash Garg. 2014-06-09 06:28:32 +00:00
gp
7ccec75461 Updates the HostCandidateHarvester class Javadoc according to the Jitsi coding conventions. 2014-06-03 07:56:31 +00:00
lubomir.marinov
3b15ee7cb6 Fixes yet another deadlock involving StunClientTransaction#cancel(boolean). Reported by Carl Hasselskog. 2014-06-02 18:40:02 +00:00
gp
53d69cd963 Moves the StackProperties.initialize() method to HostCandidateHarvester.initializeInterfaceFilters(). Don\'t die if the host candidate interface filters have not been initialized. Instead, initialize them on demand. 2014-05-30 15:02:31 +00:00
gp
d8552464e0 Adds a StackProperties.initialize() method that initializes and validates the allowed/blocked interface list. 2014-05-28 12:29:16 +00:00
gp
e14e8b6a9f Adds two configuration properties that give the possibility to define lists of allowed or lists of blocked interfaces for host candidate allocation. 2014-05-28 10:27:59 +00:00
lubomir.marinov
ed918505b8 Fixes 'Deadlock in StunStack/StunClientTransaction' reported by Carl Hasselskog. 2014-05-27 21:22:50 +00:00
lubomir.marinov
3dc113edd8 Fixes warnings. Applies formatting. 2014-05-27 21:21:26 +00:00
paweldomas
ec427382e9 Renames Message.addAttribute method to putAttribute. 2014-05-27 08:48:13 +00:00
paweldomas
fa9ccc92ef Adds default overloads of the methods for creating permission error responses. Patch by Aakash Garg. 2014-05-13 19:52:55 +00:00
paweldomas
e48e56303c Adds unit test for TURN attributes and minor fixes. Patch by Aakash Garg. 2014-05-13 19:49:45 +00:00
paweldomas
67033a0f70 Adds new STUN methods to be used by TURN server. Patch by Aakash Garg. 2014-05-10 14:20:57 +00:00
paweldomas
92b64183d6 Adds connection ID and requested address family attributes to be used by TURN server. Patch by Aakash Garg. 2014-05-10 13:58:02 +00:00
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