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 {