Search code examples
javanetworkingice4j

Ice4j: What to do once an Agent has finished processing?


I am trying to use ice4j in a simple application, but I don't know what to do once an ice Agent finishes processing. Can an application actually write to an IceMediaStream? If not, how can I gather the information to create a stream that I can write to? There is very little documentation for ice4j, and reading through the JUnit tests didn't help either.


Solution

  • I can recommend to check out the source code for a project called Jitsi. Ice4j is a library that was developed mainly as a utility for that project and is used by default in its Jingle(XMPP)-based voice and video communication establishment. Try digging around the net.java.sip.communicator.impl.protocol.jabber.IceUdpTransportManager class.