security-union / videocall-rs

teleconference system written in rust
MIT License
1.34k stars 114 forks source link

Add peer heartbeat monitor #36 #157

Closed mkamonMdt closed 1 month ago

mkamonMdt commented 1 month ago

The commit adds peer heartbeat monitoring functionality that registers each heartbeat received and removes peers that stopped missed all heartbeat opportunities in current monitoring period.

The heartbeat-based peer removal will take up to 2x of monitoring period duration to detect a lost peer.

darioalessandro commented 1 month ago

@mkamonMdt this looks great!!

darioalessandro commented 1 month ago

Pending testing