新增流健康度探针功能

This commit is contained in:
xia-chu
2026-05-03 13:34:18 +08:00
parent 6f9531c5fa
commit c440c45ce4
4 changed files with 129 additions and 0 deletions

View File

@@ -3279,6 +3279,57 @@
}
},
"response": []
},
{
"name": "添加探针(addProbe)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{ZLMediaKit_URL}}/index/api/addProbe?secret={{ZLMediaKit_secret}}&vhost={{defaultVhost}}&app=live&stream=test&probe_ms=5000",
"host": [
"{{ZLMediaKit_URL}}"
],
"path": [
"index",
"api",
"addProbe"
],
"query": [
{
"key": "secret",
"value": "{{ZLMediaKit_secret}}",
"description": "api操作密钥(配置文件配置)",
"type": "text"
},
{
"key": "vhost",
"value": "{{defaultVhost}}",
"description": "流的虚拟主机例如__defaultVhost__",
"type": "text"
},
{
"key": "app",
"value": "live",
"description": "流的应用名例如live",
"type": "text"
},
{
"key": "stream",
"value": "test",
"description": "流的id名例如test",
"type": "text"
},
{
"key": "probe_ms",
"value": "5000",
"description": "探针时长,单位毫秒",
"type": "text"
}
]
}
},
"response": []
}
],
"event": [