Fixed offline video state to use fMP4 segments instead of launching ffmpeg with the old TS file.

This commit is contained in:
2026-04-02 09:11:00 -04:00
parent 9c290fa0d7
commit f0aa545d32
7 changed files with 72 additions and 61 deletions
-8
View File
@@ -51,14 +51,6 @@ func GetWebIndexTemplate() (*template.Template, error) {
return tmpl, err
}
//go:embed offline-v2.ts
var offlineVideoSegment []byte
// GetOfflineSegment will return the offline video segment data.
func GetOfflineSegment() []byte {
return getFileSystemStaticFileOrDefault("offline-v2.ts", offlineVideoSegment)
}
//go:embed offline-init.mp4
var offlineInitSegment []byte