26
26
27
27
## 安装
28
28
直接下载编译好的[ 二进制文件] ( https://github.com/gwuhaolin/livego/releases ) 后,在命令行中执行。
29
- ## Installation
30
- After directly downloading the compiled [ binary file] (https://github.com/gwuhaolin/livego/releases ), execute it on the command line.
31
29
32
30
#### 从 Docker 启动
33
31
执行` docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -d --name livego gwuhaolin/livego ` 启动
@@ -49,16 +47,16 @@ After directly downloading the compiled [binary file] (https://github.com/gwuhao
49
47
``` bash
50
48
./livego -h
51
49
Usage of ./livego:
52
- --api_addr string HTTP manage interface server listen address (default " :8090" )
53
- --config_file string configure filename (default " livego.yaml" )
54
- --flv_dir string output flv file at flvDir/APP/KEY_TIME.flv (default " tmp" )
55
- --gop_num int gop num (default 1)
56
- --hls_addr string HLS server listen address (default " :7002" )
57
- --httpflv_addr string HTTP-FLV server listen address (default " :7001" )
58
- --level string Log level (default " info" )
59
- --read_timeout int read time out (default 10)
60
- --rtmp_addr string RTMP server listen address (default " :1935" )
61
- --write_timeout int write time out (default 10)
50
+ --api_addr string HTTP管理访问监听地址 (default " :8090" )
51
+ --config_file string 配置文件路径 (默认 " livego.yaml" )
52
+ --flv_dir string 输出的 flv 文件路径 flvDir/APP/KEY_TIME.flv (默认 " tmp" )
53
+ --gop_num int gop 数量 (default 1)
54
+ --hls_addr string HLS 服务监听地址 (默认 " :7002" )
55
+ --httpflv_addr string HTTP-FLV server listen address (默认 " :7001" )
56
+ --level string 日志等级 (默认 " info" )
57
+ --read_timeout int 读超时时间 (默认 10)
58
+ --rtmp_addr string RTMP 服务监听地址 (默认 " :1935" )
59
+ --write_timeout int 写超时时间 (默认 10)
62
60
```
63
61
64
62
### [ 和 flv.js 搭配使用] ( https://github.com/gwuhaolin/blog/issues/3 )
0 commit comments