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

This commit is contained in:
Gabe Kangas 2023-02-05 20:42:17 -08:00
parent af08d0f473
commit cf126c2e2c
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}

View File

@ -92,7 +92,7 @@ func SetStreamAsDisconnected() {
_stats.LastConnectTime = nil
_broadcaster = nil
offlineFilename := "offline.tsclip"
offlineFilename := "offline.ts"
offlineFilePath, err := saveOfflineClipToDisk(offlineFilename)
if err != nil {