Troubleshooting race condition
This commit is contained in:
parent
e63d0656ba
commit
02692befc6
7
main.go
7
main.go
@ -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…
Reference in New Issue
Block a user