A little new to Ice, my session seems to Terminate after completing. Is
that to be expected? I am hoping to write a blog and some info on ice4j if
I can get it working.
Currently I have my application make two agents. They setup and I get a Sdp
string in a similar way to SdpUtils, then I take the string and add it to
the other agent (again similar to SdpUtils).
They seem to complete. I then go and grab the Udp sockets and connect them
to each other with the local addresses that the ice4j returns inside
component inside each stream. I then send and listen for a string and the
connection "works".
I would like to do this correctly at least as far as ice4j is concerned.
Thoughts? Am I on the right track?
A little new to Ice, my session seems to Terminate after completing. Is
that to be expected? I am hoping to write a blog and some info on ice4j
if I can get it working.
Yes, "terminated" is entered 3 seconds after "completed" and indicates success.
Currently I have my application make two agents. They setup and I get a
Sdp string in a similar way to SdpUtils, then I take the string and add
it to the other agent (again similar to SdpUtils).
They seem to complete. I then go and grab the Udp sockets and connect
them to each other with the local addresses that the ice4j returns
inside component inside each stream. I then send and listen for a string
and the connection "works".
I would like to do this correctly at least as far as ice4j is concerned.
Thoughts? Am I on the right track?
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 component.getSelectedPair().getIceSocketWrapper().