Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
No longer reset max viewer count at cleanup. Only do it at new stream start. Fixes #768
Gabe Kangas443af8e6c103
diff --git a/core/streamState.go b/core/streamState.goindex 8920b937b1..031f6493bb 100644--- a/core/streamState.go+++ b/core/streamState.go@@ -34,6 +34,7 @@ func setStreamAsConnected() {_stats.StreamConnected = true_stats.LastConnectTime = utils.NullTime{Time: time.Now(), Valid: true}_stats.LastDisconnectTime = utils.NullTime{Time: time.Now(), Valid: false}+ _stats.SessionMaxViewerCount = 0_currentBroadcast = &models.CurrentBroadcast{LatencyLevel: data.GetStreamLatencyLevel(),@@ -169,8 +170,6 @@ func StartOfflineCleanupTimer() {_offlineCleanupTimer = time.NewTimer(5 * time.Minute)go func() {for range _offlineCleanupTimer.C {- // Reset the session count since the session is over- _stats.SessionMaxViewerCount = 0// Set video to offline stateresetDirectories()transitionToOfflineVideoStreamContent()