Browse Source

Let users turn off the hls server

pull/152/head
Mauro 4 years ago committed by GitHub
parent
commit
4f426395bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      main.go

5
main.go

@ -135,7 +135,10 @@ func main() { @@ -135,7 +135,10 @@ func main() {
`, VERSION)
stream := rtmp.NewRtmpStream()
hlsServer := startHls()
var hlsServer *hls.Server
if configure.Config.GetBool("hls") {
hlsServer := startHls()
}
startHTTPFlv(stream)
startAPI(stream)

Loading…
Cancel
Save