docs: udpate readme

This commit is contained in:
langhuihui
2023-08-06 15:26:50 +08:00
parent 24b63ca07c
commit 17874da782
2 changed files with 4 additions and 4 deletions

View File

@@ -63,8 +63,8 @@ publish and subscribe, any section not configured will use global configuration.
### `rtsp/api/list`
Get all RTSP streams
### `rtsp/api/pull?target=[RTSP address]&streamPath=[Stream identity]`
### `rtsp/api/pull?target=[RTSP address]&streamPath=[Stream identity]&save=[0|1|2]`
Pull the RTSP to m7s from a remote server
save meaning: 0, do not save; 1, save to pullonstart; 2, save to pullonsub
### `rtsp/api/push?target=[RTSP address]&streamPath=[Stream identity]`
Push local streams to remote servers

View File

@@ -61,8 +61,8 @@ subscribe
### `rtsp/api/list`
获取所有rtsp流
### `rtsp/api/pull?target=[RTSP地址]&streamPath=[流标识]&save=[0|1]`
### `rtsp/api/pull?target=[RTSP地址]&streamPath=[流标识]&save=[0|1|2]`
从远程拉取rtsp到m7s中
save含义0、不保存1、保存到pullonstart2、保存到pullonsub
### `rtsp/api/push?target=[RTSP地址]&streamPath=[流标识]`
将本地的流推送到远端