Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix the filename mismatch then the on-disk filename changed.

Gabe Kangas8a215dac11e4
diff --git a/core/core.go b/core/core.go
index 14c10a79a1..aefcd3a20b 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 ca56f8193d..8013c18da9 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 {