Browse Source

flag for hls_keep_after_end

pull/126/head
Ruben 5 years ago
parent
commit
5aeee5320d
  1. 1
      configure/liveconfig.go
  2. 1
      go.mod

1
configure/liveconfig.go

@ -100,6 +100,7 @@ func init() { @@ -100,6 +100,7 @@ func init() {
pflag.String("api_addr", ":8090", "HTTP manage interface server listen address")
pflag.String("config_file", "livego.yaml", "configure filename")
pflag.String("level", "info", "Log level")
pflag.Bool("hls_keep_after_end", false, "Maintains the HLS after the stream ends")
pflag.String("flv_dir", "tmp", "output flv file at flvDir/APP/KEY_TIME.flv")
pflag.Int("read_timeout", 10, "read time out")
pflag.Int("write_timeout", 10, "write time out")

1
go.mod

@ -14,7 +14,6 @@ require ( @@ -14,7 +14,6 @@ require (
github.com/sirupsen/logrus v1.5.0
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v1.6.3
github.com/stretchr/objx v0.1.1 // indirect
github.com/stretchr/testify v1.4.0
github.com/urfave/negroni v1.0.0 // indirect
)

Loading…
Cancel
Save