getMp4RecordFile接口可使用自定义的录像保存根目录来搜索文件

This commit is contained in:
custompal
2022-07-15 19:53:10 +08:00
parent a0de7577fe
commit d3b37b76bd
2 changed files with 8 additions and 3 deletions

View File

@@ -900,7 +900,7 @@
"method": "GET",
"header": [],
"url": {
"raw": "{{ZLMediaKit_URL}}/index/api/getMp4RecordFile?secret={{ZLMediaKit_secret}}&vhost={{defaultVhost}}&app=proxy&stream=2&period=2020-05-26",
"raw": "{{ZLMediaKit_URL}}/index/api/getMp4RecordFile?secret={{ZLMediaKit_secret}}&vhost={{defaultVhost}}&app=proxy&stream=2&customized_path=/www&period=2020-05-26",
"host": [
"{{ZLMediaKit_URL}}"
],
@@ -930,6 +930,11 @@
"value": "2",
"description": "流id例如 test"
},
{
"key": "customized_path",
"value": "/www",
"description": "录像文件保存自定义根目录,为空则采用配置文件设置"
},
{
"key": "period",
"value": "2020-05-26",