FAForever / ice-adapter

Deprecated C++ ICE adapter - please use java-ice-adapter instead!
https://github.com/FAForever/java-ice-adapter
GNU General Public License v3.0
11 stars 10 forks source link

Frequent, short connection losses #78

Closed Geosearchef closed 6 years ago

Geosearchef commented 6 years ago

In game frequent, short connection losses (and reconnects) can be observed, maybe connectivity checker is too sensitive?

Geosearchef commented 6 years ago

This is due to the timeout of TURN candidates after 10 minutes, they need to be refreshed. This refresh may not be called by ice4j. the lifetime being received from server is 599 (9:59).

https://github.com/jitsi/ice4j/blob/38e7b9226d6e1e790fe3b4ccacfeca64e9c2ed71/src/main/java/org/ice4j/ice/harvest/TurnCandidateHarvest.java#L531

https://github.com/jitsi/ice4j/issues/74

Geosearchef commented 6 years ago

7ef10e7dc8324f85a9dc6a709269efa0cf3dc8c3