mirror of
https://github.com/gwuhaolin/livego.git
synced 2021-06-01 09:10:22 +03:00
flag for hls_keep_after_end
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user