Continue to troubleshoot race condition at launch
This commit is contained in:
3
main.go
3
main.go
@@ -37,8 +37,6 @@ func main() {
|
|||||||
usingExternalStorage = true
|
usingExternalStorage = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resetDirectories(configuration)
|
|
||||||
|
|
||||||
if usingExternalStorage {
|
if usingExternalStorage {
|
||||||
storage.Setup(configuration)
|
storage.Setup(configuration)
|
||||||
go monitorVideoContent(configuration.PrivateHLSPath, configuration, storage)
|
go monitorVideoContent(configuration.PrivateHLSPath, configuration, storage)
|
||||||
@@ -46,6 +44,7 @@ func main() {
|
|||||||
|
|
||||||
go startRTMPService()
|
go startRTMPService()
|
||||||
|
|
||||||
|
resetDirectories(configuration)
|
||||||
startWebServer()
|
startWebServer()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user