jitsi/ice4j

SinglePortUdpHarvester should close / unbind when appropriate.

guusdk opened this issue · 1 comments

I'm running ice4j (as part of the Jitsi Videobridge) in a plugin-based environment. This means that users can start and stop ice4j, without (re)starting the JVM.

Upon usage of our component after it was restarted, we end up with these messages in our log file:

org.ice4j.ice.harvest.SinglePortUdpHarvester - Failed to create SinglePortUdpHarvester for address 198.51.100.1:10000/udp: java.net.BindException: Address already in use (Bind failed)

It appears that this harvester does not properly release all resources, when it's stopped.

Fixed by #140.