wildyeast / sadiss

A socially aggregated distributed sound system.
GNU Affero General Public License v3.0
10 stars 2 forks source link

Server reports wrong no of connected clients #73

Closed KlienVo closed 1 year ago

KlienVo commented 1 year ago

The admin interface just reported 3 connected devices while acutally 7 phones were connected and playing back. (6 of the phones hat been connected overnight already, might that be part of an explanation?)

Screen Shot 2023-04-11 at 18 47 46
KlienVo commented 1 year ago

in case it helps: This was at 2023-04-11 at 18 47 46

wildyeast commented 1 year ago

The admin interface monitors connections as soon as it is started, but it forgets this information as soon as its session is terminated. Meaning that if connections are made before the admin interface is loaded in the browser, they will not show up in the counter. A page reload will also reset the counter.

Would be a nice improvement to get the number of connected devices on page load.

matbind commented 1 year ago

Created a new issue for this, see #78. Closing.