docs: update readme

This commit is contained in:
langhuihui
2023-08-06 15:50:59 +08:00
parent 17874da782
commit 035c3647eb
3 changed files with 10 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ rtsp:
rtcpaddr: :8001
readbuffercount: 2048 # 读取缓存队列大小
writebuffercount: 2048 # 写出缓存队列大小
pullprotocol: 'auto' # auto, tcp, udp
pullprotocol: tcp # auto, tcp, udp
```
:::tip 配置覆盖
publish
@@ -63,6 +63,7 @@ subscribe
### `rtsp/api/pull?target=[RTSP地址]&streamPath=[流标识]&save=[0|1|2]`
从远程拉取rtsp到m7s中
save含义0、不保存1、保存到pullonstart2、保存到pullonsub
- save含义0、不保存1、保存到pullonstart2、保存到pullonsub
- RTSP地址需要进行urlencode 防止其中的特殊字符影响解析
### `rtsp/api/push?target=[RTSP地址]&streamPath=[流标识]`
将本地的流推送到远端