diff --git a/core/streamState.go b/core/streamState.go index 353caee7d..fce11793b 100644 --- a/core/streamState.go +++ b/core/streamState.go @@ -56,6 +56,7 @@ func SetStreamAsConnected() { func SetStreamAsDisconnected() { _stats.StreamConnected = false _stats.LastDisconnectTime = utils.NullTime{time.Now(), true} + _broadcaster = nil offlineFilename := "offline.ts" offlineFilePath := "static/" + offlineFilename