Troubleshooting race condition

This commit is contained in:
Gabe Kangas 2020-06-17 23:01:31 -07:00
parent e63d0656ba
commit 02692befc6

View File

@ -37,18 +37,19 @@ func main() {
usingExternalStorage = true
}
resetDirectories(configuration)
if usingExternalStorage {
storage.Setup(configuration)
go monitorVideoContent(configuration.PrivateHLSPath, configuration, storage)
}
resetDirectories(configuration)
go startRTMPService()
startChatServer()
startWebServer()
}
func startChatServer() {
func startWebServer() {
// log.SetFlags(log.Lshortfile)
// websocket server