From 6ce01b3f9401a1b4109ca86a08048aa7888406f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Sun, 6 Sep 2020 18:20:48 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20MediaServer=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=9A=84HTTP=20API=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MediaServer支持的HTTP-API.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/MediaServer支持的HTTP-API.md b/MediaServer支持的HTTP-API.md index f3c1650..b95efb0 100644 --- a/MediaServer支持的HTTP-API.md +++ b/MediaServer支持的HTTP-API.md @@ -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