Browse Source

Troubleshooting race condition

pull/5/head
Gabe Kangas 5 years ago
parent
commit
02692befc6
  1. 7
      main.go

7
main.go

@ -37,18 +37,19 @@ func main() { @@ -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

Loading…
Cancel
Save