增加一个保持连接开关,默认关闭

This commit is contained in:
dexter
2022-05-26 20:36:04 +08:00
parent 7f83dc503b
commit cbe785deda
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ rtmp:
repush: 0 # 当断开后是否自动重新推流,0代表不进行重新推流,-1代表无限次重新推流
pushlist: {} # 推流列表,以 streamPath为key,远程地址为value
chunksize: 4096
keepalive: false #保持rtmp连接,默认随着stream的close而主动断开
```
:::tip 配置覆盖
publish