Make setting the offline content optional

This commit is contained in:
Gabe Kangas
2020-07-13 15:13:24 -07:00
parent 15f24b84ce
commit fe102e7164
3 changed files with 10 additions and 2 deletions

View File

@@ -9,6 +9,6 @@ func ShowStreamOfflineState() {
transcoder := NewTranscoder()
transcoder.SetSegmentLength(10)
transcoder.SetAppendToStream(true)
transcoder.SetInput(config.Config.VideoSettings.OfflineContent)
transcoder.SetInput(config.Config.GetOfflineContentPath())
transcoder.Start()
}