Updated MediaServer支持的HTTP API (markdown)

夏楚
2020-09-06 18:20:48 +08:00
parent b4103676b3
commit 6ce01b3f94

@@ -961,6 +961,29 @@ typedef enum {
- 响应:
```json
{
"code": 0 #成功
}
```
### 28、`/index/api/stopSendRtp`
- 功能停止GB28181 ps-rtp推流
- 范例:[http://127.0.0.1/index/api/stopSendRtp?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&vhost=`__defaultVhost__`&app=live&stream=](http://127.0.0.1/index/api/stopSendRtp?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&vhost=__defaultVhost__&app=live&stream=test)
- 参数:
| 参数 | 是否必选 | 释意 |
| :----: | :------: | :----------------------------------------------------------: |
| secret | Y | api操作密钥(配置文件配置)如果操作ip是127.0.0.1,则不需要此参数 |
| vhost | Y | 虚拟主机例如__defaultVhost__ |
| app | Y | 应用名,例如 live |
| stream | Y | 流id例如 test |
- 响应: - 响应:
```json ```json