|
|
|
@ -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") |
|
|
|
|