Browse Source

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

pull/2686/head
Gabe Kangas 2 years ago
parent
commit
cf126c2e2c
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      core/core.go
  2. 2
      core/streamState.go

2
core/core.go

@ -102,7 +102,7 @@ func transitionToOfflineVideoStreamContent() { @@ -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)
}

2
core/streamState.go

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

Loading…
Cancel
Save