First THANK YOU for the help!
Yes, "terminated" is entered 3 seconds after "completed" and indicates
Looking at the code it SEEMED that the terminated was a thread called three
seconds after, but I had been confused. It is good to know that. I was
confused because I have seen code example in java-bells that seem to act on
"COMPLETED". Does it matter which one I act on to establish the connection?
You haven't included any details, so I cannot say if this is correct or
not. After an Agent completes, you can access the sockets for each of
its Component-s with
Currently I am accessing the component as follows:
Component rtpComponent = ims.getComponent(org.ice4j.ice.Component.
Component rtcpComponent = ims.getComponent(org.ice4j.ice.Component.
CandidatePair rtpPair = rtpComponent.getSelectedPair();
CandidatePair rtcpPair = rtcpComponent.getSelectedPair();
DatagramSocket dg = rtpPair.getDatagramSocket();
Then I simply store the localsocketaddress and call connect on each socket
with each other's localsocketaddress. It works as an experiment on my local
machine with two different ports.
I just wanted to make sure that I am doing this correctly. Meaning I am not
breaking the intended ice protocol or something. It seems right, it is
simply new to me.
Assuming this is correct I will try to write something today as a blog to