RAN3D / spray-wrtc

Adaptive random peer sampling protocol running on top of WebRTC.
https://ran3d.github.io/spray-wrtc/
MIT License
39 stars 7 forks source link

Check if a socket is referenced nowhere and clean it (in addition of timeout) #13

Closed Chat-Wane closed 5 years ago

Chat-Wane commented 9 years ago

Currently, we close the sockets using a timeout meaning that after a while, the socket is not used any longer. It could be possible to close it faster when no messages reference the socket. It requires to look carefully to whom is entitled to close a connection.

folkvir commented 5 years ago

With the new version, a maximum of 2 sockets are allowed for a same peer, inview/outview. No longer an issue. Closed.