665 Commits

Author SHA1 Message Date
Boris Grozev
cf61003e5b fix: Fixes a failure to recognize consent
confirmation for TCP pairs.
2016-12-21 16:09:32 -06:00
bbaldino
e300997924 Merge pull request #89 from bgrozev/tcp-fallback
Tcp fallback
2016-12-15 09:26:10 -08:00
Boris Grozev
0d769bb46d fix: Makes the keep alive strategy final. 2016-12-15 11:15:31 -06:00
Boris Grozev
19e86e3bc9 Revert "fix: Only allow setting the keep-alive strategy before the Agent is started."
This reverts commit abec6b79e564961575b3372a2ead52053dd3a67e.
2016-12-15 11:07:26 -06:00
Boris Grozev
a1796c9bfb style: Whitespace and braces. 2016-12-15 10:45:43 -06:00
Boris Grozev
abec6b79e5 fix: Only allow setting the keep-alive strategy before the Agent is started. 2016-12-15 10:44:57 -06:00
Boris Grozev
fe2b1a3239 style: Remove an unused import. 2016-12-13 16:26:19 -06:00
Boris Grozev
c46c1a2613 style: Remove unused imports. 2016-12-13 15:11:30 -06:00
Boris Grozev
5f554565b1 feat: Implements different strategies for
selecting the candidate pairs to be kept alive.
2016-12-13 15:11:15 -06:00
Boris Grozev
b340fa22f0 log: Reduce logging when a TCP socket is closed
by the remote peer.
2016-12-13 15:07:52 -06:00
bgrozev
1cd1128b89 Merge pull request #88 from bgrozev/merging
Virtual socket layer
2016-12-13 11:08:29 -06:00
Boris Grozev
9adab9094f style: Fixes a typo. 2016-12-12 13:59:55 -06:00
Boris Grozev
7cac0e50a7 fix: Moves the initializedActive update to after
the actual call to initializeActive(). Synchronizes access.
2016-12-12 13:53:42 -06:00
Boris Grozev
6d6f4710e0 fix: Only initializes propertyName if needed. 2016-12-12 13:49:21 -06:00
Boris Grozev
9c8d22a5bd fix: Uses a regular HashSet. 2016-12-12 13:34:54 -06:00
Boris Grozev
d0587e99e6 doc: Make it clear that a particular property name is used. 2016-12-09 10:07:06 -06:00
Boris Grozev
cb2856a8ae log: Reduces logging. 2016-12-09 09:10:22 -06:00
Boris Grozev
75e8948f4b log: Uses the parent Agent's log level. 2016-12-09 09:01:44 -06:00
Boris Grozev
9a2fe509d4 feat: Initializes the active socket
...when ICE nominates a pair. Sets the correct target for packets sent
through MergingDatagramSocket.
2016-12-06 13:09:07 -06:00
Boris Grozev
d5410b922b feat: Adds accessors for candidatates' sockets when they have more than one. 2016-12-06 11:57:32 -06:00
Boris Grozev
b4a5e2eb83 refactor: Refactors the Component's socket API. 2016-12-01 12:01:10 -06:00
Boris Grozev
dae6d32875 cleanup: Cleaner closing of MergingDatagramSocket. 2016-11-30 15:30:42 -06:00
Boris Grozev
633f05b4e5 feat: Verifies the remove address of packets passed on to the application. 2016-11-30 15:17:33 -06:00
Boris Grozev
d0afb0a55b style: Field order, whitespace, spelling. 2016-11-30 14:00:31 -06:00
Boris Grozev
6603ac3c28 cleanup: Removes an unused and confusing method. 2016-11-30 10:44:36 -06:00
Boris Grozev
ff6eeb343e feat: Closes all socket containers when the the merging socket closes. 2016-11-29 16:38:57 -06:00
Boris Grozev
67f301eebc feat: Implements MergingDatagramSocket#close(). 2016-11-29 16:12:11 -06:00
Boris Grozev
82544254c4 feat: Adds candidates' sockets to the component's merging socket. 2016-11-29 12:54:52 -06:00
Boris Grozev
c378329b8c feat: Returns the known socket address for sockets from the single-port mode. 2016-11-29 10:53:03 -06:00
Boris Grozev
15a2df1e59 feat: Splits the API to obtain sockets for a candidate/candidate pair.
The public-facing API returns the socket instance for the associated
Component, while the internal API (getCandidateIceSocket) returns
the internal socket instance for the candidate.
2016-11-28 16:11:24 -06:00
Boris Grozev
91858ba6a3 feat: Removes the VIRTUAL_SOCKET_LAYER flag, enabling it
by default.
2016-11-28 14:05:40 -06:00
Boris Grozev
3ddb19ff2c fix: Updates getActiveSocket. 2016-11-28 13:34:49 -06:00
Boris Grozev
eaceca57ac feat: Allows to add sockets to a completed agent. 2016-11-28 11:23:37 -06:00
Boris Grozev
f19dbc1984 doc: Notes that the VSL is experimental. 2016-11-21 17:01:03 -06:00
Boris Grozev
f08feea707 feat: Uses the last active socket to send data through. 2016-11-21 17:01:03 -06:00
Boris Grozev
25b0cfdc30 feat: Adds socket from the single-port and TCP harvesters to the Component. 2016-11-21 17:01:03 -06:00
Boris Grozev
2718728e92 feat: Adds an ENABLE_VIRTUAL_SOCKET_LAYER property
and a MergingDatagramSocket instance for each Component.
2016-11-21 17:01:03 -06:00
Boris Grozev
44ca871888 style: Makes the logger field final. 2016-11-21 16:59:47 -06:00
Boris Grozev
aafe003974 docs: Adds a comment. 2016-11-21 16:59:47 -06:00
Boris Grozev
12a4ef19a0 feat: Adds MergingDatagramSocket. 2016-11-21 16:59:47 -06:00
George Politis
f9f2c0f3e9 Merge pull request #87 from bgrozev/harvesting
Harvesting
2016-11-21 16:48:03 -06:00
Boris Grozev
c30ebeca53 mvn: Updates the ice4j version to 2.0. 2016-11-21 13:08:32 -06:00
Boris Grozev
c82717e8e7 docs: Adds documentation. 2016-11-17 11:40:24 -06:00
Boris Grozev
425cf9bb0d logs: Logs more information. 2016-11-16 17:52:00 -06:00
Boris Grozev
d538ca30c0 feat: Adds a toString to MappingCandidateHarvester. 2016-11-16 16:36:49 -06:00
Boris Grozev
6bc252fdd4 style: Adds @Override annotations. 2016-11-16 16:36:46 -06:00
Boris Grozev
c47ecee639 feat: Appends known mappings to the TCP harvester. 2016-11-16 16:36:42 -06:00
Boris Grozev
a8729dda22 feat: Append mapping harvesters in the Agent. 2016-11-16 16:36:38 -06:00
Boris Grozev
1d13bc7175 feat: Adds MappingCandidateHarvesters.
Moves the HarvesterConfiguration class from jitsi-videobridge
to ice4j (now named MappingCandidateHarvesters), and re-implements
the STUN candidate harvester's discovery in a way which allows
us to detect failures.
2016-11-16 16:35:08 -06:00
Boris Grozev
c919de1b3a refactor: Moves the getAllowedInetAddresses method to HostCandidateHarvester. 2016-11-16 16:34:49 -06:00