[jitsi-dev] Doubts using Ice4J


#1

Hi, my name is Luís.

I’m currently developing an Android application which requires a NAT traversal solution, for transmitting data. For this purpose I started using Ice4J, but I’m facing some problems.
To connect two ICE agents, I used the IceDistributed examples that are available. The problems occur when I call the startConnectivityEstablishment() method. What is supposed to happen when this method is called? Is it supposed call this method in both agents, at the same time? Immediately after this method finishes, the program is closed without apparent reason, and I don’t understand why. Exists any example of an application establishing a connection using two peers?

Best regards.