When starting the server provide a default stream offline state

This commit is contained in:
Gabe Kangas
2020-06-17 17:22:43 -07:00
parent 06ec265038
commit 5cecb50b2e
2 changed files with 7 additions and 1 deletions

View File

@@ -24,7 +24,6 @@ var usingExternalStorage = false
func main() {
log.StandardLogger().Printf("Owncast v%s/%s (%s)", BuildVersion, BuildType, GitCommit)
resetDirectories(configuration)
checkConfig(configuration)
stats = getSavedStats()
stats.Setup()
@@ -43,6 +42,7 @@ func main() {
go monitorVideoContent(configuration.PrivateHLSPath, configuration, storage)
}
resetDirectories(configuration)
go startRTMPService()
startChatServer()