From cf126c2e2c35ffc7f6d06d52b31434fdb964bef8 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 5 Feb 2023 20:42:17 -0800 Subject: [PATCH] Fix the filename mismatch then the on-disk filename changed. --- core/core.go | 2 +- core/streamState.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.go b/core/core.go index 14c10a79a..aefcd3a20 100644 --- a/core/core.go +++ b/core/core.go @@ -102,7 +102,7 @@ func transitionToOfflineVideoStreamContent() { _transcoder.SetLatencyLevel(models.GetLatencyLevel(4)) _transcoder.SetIsEvent(true) - offlineFilePath, err := saveOfflineClipToDisk("offline.tsclip") + offlineFilePath, err := saveOfflineClipToDisk("offline.ts") if err != nil { log.Fatalln("unable to save offline clip:", err) } diff --git a/core/streamState.go b/core/streamState.go index ca56f8193..8013c18da 100644 --- a/core/streamState.go +++ b/core/streamState.go @@ -92,7 +92,7 @@ func SetStreamAsDisconnected() { _stats.LastConnectTime = nil _broadcaster = nil - offlineFilename := "offline.tsclip" + offlineFilename := "offline.ts" offlineFilePath, err := saveOfflineClipToDisk(offlineFilename) if err != nil {