Fix the filename mismatch then the on-disk filename changed.
This commit is contained in:
parent
af08d0f473
commit
cf126c2e2c
@ -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)
|
||||
}
|
||||
|
@ -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…
Reference in New Issue
Block a user