mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-27 15:42:07 +02:00
Fix viewer count
This commit is contained in:
@ -157,6 +157,7 @@ func statisticsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
stream, err := streams.Get(name)
|
||||
if err == nil {
|
||||
userCount = stream.ClientCount()
|
||||
userCount += webrtc.GetNumberConnectedSessions(name)
|
||||
}
|
||||
|
||||
// Display connected users statistics
|
||||
|
Reference in New Issue
Block a user