mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-08 23:10:04 +08:00
Updated MediaServer支持的HTTP API (markdown)
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user