seb
0625a6c33a
Attempt to read a maximum of 1500 bytes for the TURN ChannelData socket.
2011-02-24 17:03:06 +00:00
seb
1358438efd
Addtionnal logs: harvester type and server address for the selected components, and candidate type for each address gathered.
2011-02-24 10:31:01 +00:00
seb
67cd08ad0c
Fix an infinite loop if UPnP AddPortMapping action never succeed.
2011-02-17 10:16:11 +00:00
seb
1db2650514
Update UPnP library (Add timeout for HttpURLConnection).
2011-01-13 12:21:26 +00:00
seb
ad79151b1f
Add UPnP harvester support.
2010-12-21 10:29:04 +00:00
seb
71c4c28298
Fix a mistake (using HostCandidate instead of RelayedCandidate).
2010-12-20 16:28:59 +00:00
seb
18e6036b97
Add 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.
2010-12-17 17:44:27 +00:00
seb
47d0918dce
Add some log outputs.
2010-12-13 17:20:13 +00:00
seb
cfa0e2973d
Change Candidate's get/setTurnServerAddress() to get/setRelayServerAddress() to be more generic in naming relays. Typos and text formatting.
2010-12-09 10:29:58 +00:00
damencho
7e868bb3f1
Introduce PacketLogger, implementers can log all received or sent packets by the stack.
2010-12-07 13:44:04 +00:00
seb
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.
2010-12-06 16:41:58 +00:00
seb
fc3e411657
Initialize the Binding Response's MESSAGE-INTEGRITY attribute with the same username as the request. Now ice4j should correctly work with Empathy.
2010-11-29 16:22:54 +00:00
seb
a16b8afe12
Add USERNAME and MESSAGE-INTEGRITY in connectivity check's Binding Response.
2010-11-26 16:41:29 +00:00
seb
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.
2010-11-25 16:03:44 +00:00
lubomir.marinov
7de929986c
Makes it possible to complete connectivity establishment, create new streams, components and candidates and start a new connectivity establishment for them only.
2010-10-21 19:18:34 +00:00
lubomir.marinov
1d3ce5ee57
Starts the connectivity checks for a CheckList when a triggered check is scheduled. Otherwise, the Agent may run forever.
2010-10-14 19:37:18 +00:00
lubomir.marinov
7ff7ed83e9
Runs 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.
2010-10-14 10:41:55 +00:00
lubomir.marinov
3e28058a07
Fixes a suspicious #remove() of a CheckList from a List<IceMediaStream>.
2010-10-12 20:52:19 +00:00
lubomir.marinov
99e0572c06
Modifies the ICE Agent to not self-destruct upon termination and to rather advise explicit preparation for garbage collection.
2010-10-06 08:20:51 +00:00
lubomir.marinov
3f6e5c7564
Fixes warnings, javadocs, formatting.
2010-10-04 07:08:00 +00:00
emcho
a10d5e6687
Adds support for generations
2010-09-28 11:26:00 +00:00
lubomir.marinov
5f4c05d699
Uses StunStack on a per-Agent basis.
2010-09-12 13:17:06 +00:00
lubomir.marinov
3d4de0f547
Enables 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.
2010-07-14 19:45:21 +00:00
lubomir.marinov
dea667e8b5
Commits 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.
2010-07-14 17:01:27 +00:00
lubomir.marinov
0bcec0c2f8
Adds/fixes javadocs.
2010-07-14 10:41:28 +00:00
emcho
908f572707
Commits a meaningless modification as obviously there's some kind of a commit competition going on\!\!\!
2010-07-13 13:46:51 +00:00
lubomir.marinov
e06c86a5dc
Brings back a .notifyAll() which wasn't supposed to be removed in r228.
2010-07-13 13:39:45 +00:00
lubomir.marinov
63911198a5
Removes a System.err.println.
2010-07-13 13:37:55 +00:00
lubomir.marinov
6bcdd91a09
Reverts the enabling of starting connectivity establishment of the remote peer in the run-sample Ant target.
2010-07-09 15:43:28 +00:00
lubomir.marinov
8928f9daa6
Implements relaying data through a TURN server for RelayedCandidate.
2010-07-09 15:41:07 +00:00
lubomir.marinov
cad31b0304
Nothing really, mostly applies formatting.
2010-07-09 14:58:05 +00:00
seb
0e0e0086d1
Fix javadoc warnings.
2010-07-04 06:46:32 +00:00
lubomir.marinov
9495fe541a
Fixes what looks like a race condition related to the starting of a connectivity check on a Candidate pair and processing its Response.
2010-07-01 02:39:19 +00:00
lubomir.marinov
f15437c37b
Implements harvesting of relayed candidates through TURN.
2010-06-30 06:58:16 +00:00
lubomir.marinov
b4579547da
Mostly, 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).
2010-06-29 09:53:08 +00:00
lubomir.marinov
c631805349
Fixes the verification of MESSAGE-INTEGRITY attribute values (which didn't seem to always work with the previous fix).
2010-06-29 09:46:27 +00:00
lubomir.marinov
f57ba6870e
Fixes a NullPointerException in the case of relayed candidates.
2010-06-29 09:45:27 +00:00
lubomir.marinov
c859509daa
Attempts 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.
2010-06-25 17:41:58 +00:00
lubomir.marinov
316e524a0f
Fixes warnings, javadocs, formatting. Simplifies a few instances of cloning arrays.
2010-06-25 06:47:47 +00:00
lubomir.marinov
5dd7a39257
Fixes warnings in test/.
2010-06-25 06:43:19 +00:00
emcho
579782bb0a
Repairs an issue with conflict resolution
2010-05-18 17:07:25 +00:00
emcho
f948c50706
fixes a ClassCastException when handling incoming checks
2010-05-18 13:33:00 +00:00
emcho
489b444b69
fixes a ClassCastException when handling incoming checks
2010-05-18 13:31:54 +00:00
emcho
b954328af7
Various bug fixes
2010-05-18 10:03:20 +00:00
emcho
e63a42e8f1
Various bug fixes
2010-05-18 10:03:06 +00:00
emcho
5875d4dec1
Repairs 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
2010-05-18 07:25:59 +00:00
emcho
69ed45c7d3
Adds to new test applications that allow testing ice4j on separate work stations
2010-05-18 07:25:45 +00:00
emcho
be0ab56e9c
Fixes transaction management issues
2010-05-18 07:25:15 +00:00
emcho
8ce8be2cc8
Adds to new test applications that allow testing ice4j on separate work stations
2010-05-18 07:24:58 +00:00
emcho
1060228133
Adds a testing utility that allows running the ICE sample over two distinct stations.
2010-05-18 07:24:47 +00:00