1358438efdAddtionnal logs: harvester type and server address for the selected components, and candidate type for each address gathered.
seb
2011-02-24 10:31:01 +00:00
67cd08ad0cFix an infinite loop if UPnP AddPortMapping action never succeed.
seb
2011-02-17 10:16:11 +00:00
71c4c28298Fix a mistake (using HostCandidate instead of RelayedCandidate).
seb
2010-12-20 16:28:59 +00:00
18e6036b97Add a new nomination strategy which consists in nominate first host or server reflexive candidate. If relayed candidates are first validated, wait some time to see if no host or server reflexive candidates get validated and be nominated instead of relayed ones. Note that this strategy is not the default and thus need to be explicitely set via Agent's setNominationStrategy method to be used.
seb
2010-12-17 17:44:27 +00:00
47d0918dceAdd some log outputs.
seb
2010-12-13 17:20:13 +00:00
cfa0e2973dChange Candidate's get/setTurnServerAddress() to get/setRelayServerAddress() to be more generic in naming relays. Typos and text formatting.
seb
2010-12-09 10:29:58 +00:00
7e868bb3f1Introduce PacketLogger, implementers can log all received or sent packets by the stack.
damencho
2010-12-07 13:44:04 +00:00
15b6780ccf* Fix a bug when the TURN ChannelData data is padded, it results of the ChannelData to be discarded; * Allow remote candidates to be injected while ICE processing is running; * Support different remote ufrag/password for streams.
seb
2010-12-06 16:41:58 +00:00
fc3e411657Initialize the Binding Response's MESSAGE-INTEGRITY attribute with the same username as the request. Now ice4j should correctly work with Empathy.
seb
2010-11-29 16:22:54 +00:00
a16b8afe12Add USERNAME and MESSAGE-INTEGRITY in connectivity check's Binding Response.
seb
2010-11-26 16:41:29 +00:00
ed5856810a- Add a missing test about foundation to change \"frozen\" candidate pair state to \"waiting\"; - Nominee for a component are now obtained by looking in \"ValidList\" rather than \"CheckList\"; - Checks that are received before we start ours are triggered immediately when ICE state change to RUNNING; - Always use \"BASE\" transport address as source for sending and checking STUN request (peer reflexive cases); - Fix infinite recursivity in DelegatingDatagramSocket; - Various formatting, typos, 80-line cut and missing javadocs fix.
seb
2010-11-25 16:03:44 +00:00
7de929986cMakes it possible to complete connectivity establishment, create new streams, components and candidates and start a new connectivity establishment for them only.
lubomir.marinov
2010-10-21 19:18:34 +00:00
1d3ce5ee57Starts the connectivity checks for a CheckList when a triggered check is scheduled. Otherwise, the Agent may run forever.
lubomir.marinov
2010-10-14 19:37:18 +00:00
7ff7ed83e9Runs the harvests of local candidates performed by multiple CandidateHarvesters for a given Component in parallel in order to achieve faster overall harvesting. Additionally, disables a CandidateHarvester for an Agent when it fails so that it does not slow down the overall harvesting.
lubomir.marinov
2010-10-14 10:41:55 +00:00
3e28058a07Fixes a suspicious #remove() of a CheckList from a List<IceMediaStream>.
lubomir.marinov
2010-10-12 20:52:19 +00:00
99e0572c06Modifies the ICE Agent to not self-destruct upon termination and to rather advise explicit preparation for garbage collection.
lubomir.marinov
2010-10-06 08:20:51 +00:00
a10d5e6687Adds support for generations
emcho
2010-09-28 11:26:00 +00:00
5f4c05d699Uses StunStack on a per-Agent basis.
lubomir.marinov
2010-09-12 13:17:06 +00:00
3d4de0f547Enables relay through a TURN server using ChannelData messages. The implementation is not supposed to be active in run-sample because run-sample only sends connectivity checks through the relay and ICE recommends using ChannelData only after ICE has completed. The relay automatically switches from Send/Data indications to ChannelData messages when the first non-STUN message is sent through it.
lubomir.marinov
2010-07-14 19:45:21 +00:00
dea667e8b5Commits work in progress on relaying through a TURN server using ChannelData messages. The implementation seems to cause Mac OS X Snow Leopard to die so it is committed disabled for the purposes of easy transfer and testing on a more stable operating system.
lubomir.marinov
2010-07-14 17:01:27 +00:00
908f572707Commits a meaningless modification as obviously there's some kind of a commit competition going on\!\!\!
emcho
2010-07-13 13:46:51 +00:00
e06c86a5dcBrings back a .notifyAll() which wasn't supposed to be removed in r228.
lubomir.marinov
2010-07-13 13:39:45 +00:00
63911198a5Removes a System.err.println.
lubomir.marinov
2010-07-13 13:37:55 +00:00
6bcdd91a09Reverts the enabling of starting connectivity establishment of the remote peer in the run-sample Ant target.
lubomir.marinov
2010-07-09 15:43:28 +00:00
8928f9daa6Implements relaying data through a TURN server for RelayedCandidate.
lubomir.marinov
2010-07-09 15:41:07 +00:00
9495fe541aFixes what looks like a race condition related to the starting of a connectivity check on a Candidate pair and processing its Response.
lubomir.marinov
2010-07-01 02:39:19 +00:00
f15437c37bImplements harvesting of relayed candidates through TURN.
lubomir.marinov
2010-06-30 06:58:16 +00:00
b4579547daMostly, applies formatting. Fixes an instance of using String#getBytes without an encoding which is discouraged (and hasn't come up as a problem during testing yet).
lubomir.marinov
2010-06-29 09:53:08 +00:00
c631805349Fixes the verification of MESSAGE-INTEGRITY attribute values (which didn't seem to always work with the previous fix).
lubomir.marinov
2010-06-29 09:46:27 +00:00
f57ba6870eFixes a NullPointerException in the case of relayed candidates.
lubomir.marinov
2010-06-29 09:45:27 +00:00
c859509daaAttempts to fix: - incorrect calculations of the MESSAGE-INTEGRITY attribute value when sending and receiving (e.g. the connectivity checks) STUN messages, - ArrayIndexOutOfBoundsException in EvenPortAttribute - a failure to take the padded attribute length into account when encoding Message into bytes which would cause the STUN messages to be incorrectly encoded.
lubomir.marinov
2010-06-25 17:41:58 +00:00
316e524a0fFixes warnings, javadocs, formatting. Simplifies a few instances of cloning arrays.
lubomir.marinov
2010-06-25 06:47:47 +00:00
5dd7a39257Fixes warnings in test/.
lubomir.marinov
2010-06-25 06:43:19 +00:00
579782bb0aRepairs an issue with conflict resolution
emcho
2010-05-18 17:07:25 +00:00
f948c50706fixes a ClassCastException when handling incoming checks
emcho
2010-05-18 13:33:00 +00:00
489b444b69fixes a ClassCastException when handling incoming checks
emcho
2010-05-18 13:31:54 +00:00
5875d4dec1Repairs condition for a check list to enter the COMPLETED state. Was: every component needs to have a nominated candidate, Is: Every component needs to have a nominated candidate whose nomination check has succeeded
emcho
2010-05-18 07:25:59 +00:00
69ed45c7d3Adds to new test applications that allow testing ice4j on separate work stations
emcho
2010-05-18 07:25:45 +00:00
95a59dbb2aAdds a nomination utility with, currently, two nomination strategies.
emcho
2010-05-18 07:23:41 +00:00
b8c6760b96Implements a default NOMINATE_FIRST_VALID nomination strategy.
emcho
2010-05-18 07:23:15 +00:00
1eb48f91a5Starts work on custom nomination strategies
emcho
2010-05-18 07:23:00 +00:00
3e9d403472Starts work on custom nomination strategies
emcho
2010-05-18 07:22:37 +00:00
795e0f0fd1Fixes issues with ICE processing in a basic use case
emcho
2010-05-08 21:39:56 +00:00
ef7a75fcc4Fixes issues with ICE processing in a basic use case
emcho
2010-05-08 21:39:39 +00:00
7da2ab5222In an effort to simplify use of the library Reduces visibility for a number of methods that user applications won't need to access.
emcho
2010-05-08 21:39:25 +00:00
90a9e347f7Moves the connectivity check client and server into the ice package so that we could reduce visibility to methods that are not meant for users of the lib.
emcho
2010-05-08 21:39:10 +00:00
3476b9194dAdds an IceProcessingState tracking to Agents
emcho
2010-05-08 21:38:33 +00:00
3c3f40a38fAdds an IceProcessingState to Agents
emcho
2010-05-08 21:38:20 +00:00
ab877ab6f7Commits work on pair nomination (Section 8.1.1). Work in progress
emcho
2010-05-08 21:38:10 +00:00
007d551863Commits work on pair nomination (Section 8.1.1). Work in progress
emcho
2010-05-08 21:38:00 +00:00
d30aa3b96fCommits work on pair nomination (Section 8.1.1). Work in progress
emcho
2010-05-08 21:37:45 +00:00
6ae8daa23dImplements support for Check List and Timer State Updates (RFC 5245 7.1.3.3.)
emcho
2010-05-08 21:37:36 +00:00
2ad5090e23Implements support for Check List and Timer State Updates (RFC 5245 7.1.3.3.)
emcho
2010-05-08 21:37:24 +00:00
834b10cc69Implements candidate nomination as per sections 7.2.1.5. and 7.2.3.2.4. from RFC 5245
emcho
2010-05-08 21:37:10 +00:00
988de3fbffImplements client side support for Updating Pair States (RFC 5245: Section 7.1.3.2.3). So did the previous commit despite the wrong commit message
emcho
2010-05-08 21:36:58 +00:00
5067c4a462Implements client side valid list construction (RFC 5245: Section 7.1.3.2.2)
emcho
2010-05-08 21:36:45 +00:00
7e2b709d28Implements client side valid list construction (RFC 5245: Section 7.1.3.2.2)
emcho
2010-05-08 21:36:30 +00:00
ba1fdf0a9dAdds support for client side discovery of PEER-REFLEXIVE-CANDIDATES. (RFC 5245: Section 7.1.3.2.1)
emcho
2010-05-08 21:36:11 +00:00
bc285371e0Implements client side role conflict detection and resolution (RFC 5245: Section 7.1.3.1)
emcho
2010-05-08 21:35:41 +00:00
91b3474a79Implements server side role conflict detection and resolution (RFC 5245: Section 7.2.1.1)
emcho
2010-05-08 21:35:21 +00:00
cc51f9ff21Implements server side role conflict detection and resolution (RFC 5245: Section 7.2.1.1)
emcho
2010-05-08 21:34:56 +00:00
63aac5e6f9Refactors the implementation of the ICE-CONTROLLING and ICE-CONRTOLLED attributes to avoir the 95% duplication between the two
emcho
2010-05-08 21:34:35 +00:00
6747c7cdcdAllows the application to trigger a 400 Bad Request response by throwing an IllegalArgumentException from within processRequest(). Responds with a 400 when incoming requests are missing the PRIORITY attribute
emcho
2010-05-08 21:34:19 +00:00
acb573dbabAdds automatic generation of 500 Server Error responses in case of an exception during request processing. Renames requestReceived() to processRequest() for uniformity with response processing.
emcho
2010-05-08 21:33:57 +00:00
8a17ce9e25Fixes problems related to the processing of padding in incoming stun messages
emcho
2010-05-01 21:37:30 +00:00
8c446d6f24Completes support for automatically generating error responses
emcho
2010-05-01 21:37:13 +00:00
29c128ce74Ongoing work on automatically generating some error responses
emcho
2010-05-01 21:36:52 +00:00
1d4945e563Ongoing work on automatically generating some error responses
emcho
2010-05-01 21:36:29 +00:00
8f528bbafcAdds parsing for incoming priority attributes. Makes the ICE Agent only start the checks with a single stream Completes support for storing application data in transaction IDs so that we could keep in there references to CandidatePair-s
emcho
2010-05-01 21:36:07 +00:00
f0a6ba00c9Adds support for storing application data in transaction IDs so that we could keep in there references to CandidatePair-s
emcho
2010-05-01 21:35:47 +00:00
44e7266220Adds support for computing of initial CandidatePair states in check lists. (section 5.7.4. of 5245
emcho
2010-05-01 21:35:37 +00:00
1ff391f994Adds support for computing of initial CandidatePair states in check lists. (section 5.7.4. of 5245
emcho
2010-05-01 21:35:24 +00:00
af8a7345a6Adds support for computing of initial CandidatePair states in check lists. (section 5.7.4. of 5245
emcho
2010-05-01 21:35:13 +00:00
40a0c3a03eAdds support for computing initial check list states. (sections 5.7.4., 7.1.3.2.3, 7.1.3. of 5245
emcho
2010-05-01 21:35:02 +00:00
8d69aab45bImplements a connectivity check pace maker
emcho
2010-05-01 21:34:50 +00:00
96021cf134Adds methods for discovering a local candidate based on a TransportAddress
emcho
2010-04-28 22:30:53 +00:00
045429921bMoves connectivity check client and server to a package of their own. Adds mechanism that allows connectivity check servers to report peer reflexive addresses
emcho
2010-04-28 22:30:42 +00:00
21cd44045fFixes use of local credentials authority (now that was some tricky stuff to find).
emcho
2010-04-27 23:32:34 +00:00
75231a7e3eDelays necessity of a password for outgoing checks so that we could handle the OFFER check ANSWER case.
emcho
2010-04-27 23:32:18 +00:00
52541f4adfSplits candidate check handler into a client and a server. Delays necessity of a password for outgoing checks so that we could handle the OFFER check ANSWER case.
emcho
2010-04-27 23:31:58 +00:00