reduzent / netpd

Collaborative Realtime Networked Music Making Environment (MK II)
https://netpd.org
GNU General Public License v2.0
62 stars 5 forks source link

Warn when connection to server is terminated without user interaction #43

Closed reduzent closed 10 months ago

reduzent commented 11 months ago

Not all internet connections are stable and sometimes it happens that a TCP connection is terminated without either of both endpoints initiating the termination. Such situation have resulted in diverging session where one party was having their isolated session without noticing. This is a really annoying problem.

Although it cannot be avoided, it be detected, at least. chat plays a bing sound whenever a connection starts or stops. However, that sound might not be heard during a session. Better would be displaying a pop-up dialog with a warning message.

netpd works both ways, either connected to a server, or locally. However, when a server session is interrupted involuntarily, netpd probably should just not automatically switch to local mode, but block any messages instead.