FAForever / kotlin-ice-adapter

MIT License
2 stars 3 forks source link

LIB: Reimplement connectivity checker #6

Closed Brutus5000 closed 1 year ago

Brutus5000 commented 1 year ago

The ICE adapter puts additional "echo" messages into the data stream in order to check the liveness of each connection.

A central ConnectivityChecker component should keep the state for all connections. Each RemotePeerOrchestrator should then forward received pings and execute ping requests on demand.

Reference implementation: https://github.com/FAForever/java-ice-adapter/blob/master/ice-adapter/src/main/java/com/faforever/iceadapter/ice/PeerConnectivityCheckerModule.java

Brutus5000 commented 1 year ago

Closed by 52fcfc23f43a6d85d55c86ce0d36676dab8fc0ea