* Use ScheduleExecutorService to run STUN keep alives. * Mark threads as daemon threads. * Fixed comments. Rearranged properties read in keep alive runnable. * Added early check that keep alives must not be sent * Renamed method to check keep alive condition. * Fixed formatting. * Renamed metrod which check if KA should run. * Created CustomizableThreadFactory which support thread name prefixes and if threads are daemons. * Created dedicated runnable class which perform STUN keep-alive checks. * Minor comments fixes. * Do not expose Runnable interface from StunKeepAliveRunner. * Mark CustomizableThreadFactory fields as final. * Added java doc to CustomizableThreadFactory
ice4j
The Interactive Connectivity Establishment (ICE) protocol combines various NAT traversal utilities such as the STUN and TURN protocols in order to offer a powerful mechanism that allows Offer/Answer based protocols such as SIP and XMPP to traverse NATs.
This project provides a Java implementation of the ICE protocol that would be usable by both SIP and XMPP applications. The project also provides features such as socket sharing and support for Pseudo TCP.
ice4j is maintained by the Jitsi community. Use Jitsi's dev mailing list for questions and discussions.
Thanks
Work on this project was graciously funded by the NLnet Foundation. Thank you!
Languages
Java
98.6%
Kotlin
1.4%