478 Commits

Author SHA1 Message Date
boris
d937a29022 Treats ClosedChannelException as a fatal error and stops the Connector. 2014-10-02 13:15:20 +00:00
boris
868228b3f6 Names the TCP harvester read thread. 2014-10-02 13:15:13 +00:00
lubomir.marinov
7454ebd7c5 Fixes warnings. 2014-09-15 23:40:15 +00:00
boris
26c34b25b4 Allows additional addresses and/or ports to be configured. Purge the components map. 2014-09-09 14:46:16 +00:00
boris
5f67322b90 Exports the obtained local/public addresses via the getFace() and getMask() methods. 2014-09-09 14:46:09 +00:00
boris
89082b2c1a Take into account the transport protocol for mapped candidates. Preserve
the isSSL flag.
2014-09-09 14:46:01 +00:00
boris
f08c6546ae Use the local candidate base, if available. 2014-09-09 14:45:53 +00:00
paweldomas
65a427cc38 Adds parsing of SSLTCP transport type. 2014-09-08 15:12:22 +00:00
boris
8a7f8c1eea Does not retransmit StunClientTransaction-s over TCP. 2014-09-05 16:47:03 +00:00
boris
17276fde15 Uses the first received STUN packet instead of waiting for a retransmission. 2014-09-05 16:46:57 +00:00
boris
6bc0b7c4de Fixes a bug with the accept thread busy waiting in select(), simplifies code. 2014-09-05 16:46:48 +00:00
lubomir.marinov
eccf1346c0 Further reduces the average time it takes to clone a DatagramPacket. 2014-09-05 15:47:37 +00:00
lubomir.marinov
a34e108b2d Significantly reduces the time to clone a DatagramPacket. 2014-09-05 13:18:50 +00:00
lubomir.marinov
fd616daa1c Fixes warnings, manually formats source code. 2014-09-05 13:17:16 +00:00
boris
e497af1850 Adds support for google's ssltcp. 2014-09-04 13:28:04 +00:00
boris
618ce97c7c Add a DTLS datagram filter. 2014-09-03 18:06:17 +00:00
boris
91d9b1dff6 Suppress a serialization warning. 2014-09-03 14:34:53 +00:00
boris
6932bd407c When a SocketChannel is in use, reads using the SocketChannel directly instead of through its InputStream. 2014-09-03 14:34:45 +00:00
boris
3b7a913eac Avoid unnecessary coping. 2014-09-03 14:34:38 +00:00
boris
9c70d917de Minor: fix log message. 2014-09-03 14:34:32 +00:00
boris
e4c914b943 Don't add pairs when the remote port is 0 (as can be when a remote cand is an active TCP cand). 2014-09-03 14:34:26 +00:00
boris
caea84ac07 Fix an exception in MultiplexingTcpHostHarvester. 2014-09-03 14:34:20 +00:00
boris
58b40d184f Uses List instead of Enumeration. 2014-09-03 14:34:12 +00:00
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