mirror of
https://github.com/Monibuca/plugin-hdl.git
synced 2025-09-26 21:01:15 +08:00
docs: udpate readme
This commit is contained in:
@@ -45,8 +45,9 @@ ffplay http://localhost:8080/hdl/live/test.flv
|
||||
### M7S Pull HTTP-FLV Streams from Remote
|
||||
|
||||
The available API is:
|
||||
`/hdl/api/pull?target=[HTTP-FLV address]&streamPath=[stream identifier]&save=[whether to save configuration (leave blank if not)]`
|
||||
|
||||
`/hdl/api/pull?target=[HTTP-FLV address]&streamPath=[stream identifier]&save=[0|1|2]`
|
||||
- save meaning: 0 - do not save 1 - save to pullonstart 2 - save to pullonsub
|
||||
- HTTP-FLV address needs to be urlencoded to prevent special characters from affecting parsing
|
||||
### Get a List of All HDL Streams
|
||||
|
||||
`/hdl/api/list`
|
@@ -42,7 +42,9 @@ ffplay http://localhost:8080/hdl/live/test.flv
|
||||
### m7s从远程拉取http-flv协议流
|
||||
|
||||
可调用接口
|
||||
`/hdl/api/pull?target=[HTTP-FLV地址]&streamPath=[流标识]&save=[是否保存配置(留空则不保存)]`
|
||||
`/hdl/api/pull?target=[HTTP-FLV地址]&streamPath=[流标识]&save=[0|1|2]`
|
||||
|
||||
- save含义: 0-不保存 1-保存到pullonstart 2-保存到pullonsub
|
||||
- HTTP-FLV地址需要进行urlencode 防止其中的特殊字符影响解析
|
||||
### 获取所有HDL流列表
|
||||
`/hdl/api/list`
|
Reference in New Issue
Block a user