diff --git a/README.en.md b/README.en.md index 64d6e14..289b0e3 100644 --- a/README.en.md +++ b/README.en.md @@ -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` \ No newline at end of file diff --git a/README.md b/README.md index 96b72c1..4352053 100644 --- a/README.md +++ b/README.md @@ -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` \ No newline at end of file