addStreamProxy支持透传参数并设置MediaPlayer (#3063)

通过addStreamProxy接口可以直接配置MediaPlayer相关设置参数,比如说http代理url等
This commit is contained in:
alexliyu7352 2023-12-01 14:33:07 +08:00 committed by GitHub
parent a8e2d602cb
commit 86029d08af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 234 additions and 101 deletions

View File

@ -540,7 +540,7 @@ void getStatisticJson(const function<void(Value &val)> &cb) {
} }
void addStreamProxy(const string &vhost, const string &app, const string &stream, const string &url, int retry_count, void addStreamProxy(const string &vhost, const string &app, const string &stream, const string &url, int retry_count,
const ProtocolOption &option, int rtp_type, float timeout_sec, const ProtocolOption &option, int rtp_type, float timeout_sec, const mINI &args,
const function<void(const SockException &ex, const string &key)> &cb) { const function<void(const SockException &ex, const string &key)> &cb) {
auto key = getProxyKey(vhost, app, stream); auto key = getProxyKey(vhost, app, stream);
lock_guard<recursive_mutex> lck(s_proxyMapMtx); lock_guard<recursive_mutex> lck(s_proxyMapMtx);
@ -575,6 +575,7 @@ void addStreamProxy(const string &vhost, const string &app, const string &stream
lock_guard<recursive_mutex> lck(s_proxyMapMtx); lock_guard<recursive_mutex> lck(s_proxyMapMtx);
s_proxyMap.erase(key); s_proxyMap.erase(key);
}); });
player->mINI::operator=(args);
player->play(url); player->play(url);
}; };
@ -1058,6 +1059,11 @@ void installWebApi() {
CHECK_SECRET(); CHECK_SECRET();
CHECK_ARGS("vhost","app","stream","url"); CHECK_ARGS("vhost","app","stream","url");
mINI args;
for (auto &pr : allArgs.getArgs()) {
args.emplace(pr.first, pr.second);
}
ProtocolOption option(allArgs); ProtocolOption option(allArgs);
auto retry_count = allArgs["retry_count"].empty()? -1: allArgs["retry_count"].as<int>(); auto retry_count = allArgs["retry_count"].empty()? -1: allArgs["retry_count"].as<int>();
addStreamProxy(allArgs["vhost"], addStreamProxy(allArgs["vhost"],
@ -1068,6 +1074,7 @@ void installWebApi() {
option, option,
allArgs["rtp_type"], allArgs["rtp_type"],
allArgs["timeout_sec"], allArgs["timeout_sec"],
args,
[invoker,val,headerOut](const SockException &ex,const string &key) mutable{ [invoker,val,headerOut](const SockException &ex,const string &key) mutable{
if (ex) { if (ex) {
val["code"] = API::OtherFailed; val["code"] = API::OtherFailed;
@ -1891,6 +1898,7 @@ void installWebApi() {
option, option,
0,//rtp over tcp方式拉流 0,//rtp over tcp方式拉流
10,//10秒超时 10,//10秒超时
mINI{},
[invoker,val,headerOut](const SockException &ex,const string &key) mutable{ [invoker,val,headerOut](const SockException &ex,const string &key) mutable{
if(ex){ if(ex){
val["code"] = API::OtherFailed; val["code"] = API::OtherFailed;

View File

@ -247,6 +247,6 @@ bool closeRtpServer(const std::string &stream_id);
Json::Value makeMediaSourceJson(mediakit::MediaSource &media); Json::Value makeMediaSourceJson(mediakit::MediaSource &media);
void getStatisticJson(const std::function<void(Json::Value &val)> &cb); void getStatisticJson(const std::function<void(Json::Value &val)> &cb);
void addStreamProxy(const std::string &vhost, const std::string &app, const std::string &stream, const std::string &url, int retry_count, void addStreamProxy(const std::string &vhost, const std::string &app, const std::string &stream, const std::string &url, int retry_count,
const mediakit::ProtocolOption &option, int rtp_type, float timeout_sec, const mediakit::ProtocolOption &option, int rtp_type, float timeout_sec, const toolkit::mINI &args,
const std::function<void(const toolkit::SockException &ex, const std::string &key)> &cb); const std::function<void(const toolkit::SockException &ex, const std::string &key)> &cb);
#endif //ZLMEDIAKIT_WEBAPI_H #endif //ZLMEDIAKIT_WEBAPI_H

View File

@ -301,7 +301,7 @@ static void pullStreamFromOrigin(const vector<string> &urls, size_t index, size_
option.enable_hls = option.enable_hls || (args.schema == HLS_SCHEMA); option.enable_hls = option.enable_hls || (args.schema == HLS_SCHEMA);
option.enable_mp4 = false; option.enable_mp4 = false;
addStreamProxy(args.vhost, args.app, args.stream, url, retry_count, option, Rtsp::RTP_TCP, timeout_sec, [=](const SockException &ex, const string &key) mutable { addStreamProxy(args.vhost, args.app, args.stream, url, retry_count, option, Rtsp::RTP_TCP, timeout_sec, mINI{}, [=](const SockException &ex, const string &key) mutable {
if (!ex) { if (!ex) {
return; return;
} }

View File

@ -78,15 +78,16 @@ void HttpClient::sendRequest(const string &url) {
printer.pop_back(); printer.pop_back();
_header.emplace("Cookie", printer); _header.emplace("Cookie", printer);
} }
if (isUsedProxy()) { if (!alive() || host_changed) {
startConnect(_proxy_host, _proxy_port, _wait_header_ms / 1000.0f); if (isUsedProxy()) {
} else { _proxy_connected = false;
if (!alive() || host_changed) { startConnect(_proxy_host, _proxy_port, _wait_header_ms / 1000.0f);
startConnect(host, port, _wait_header_ms / 1000.0f);
} else { } else {
SockException ex; startConnect(host, port, _wait_header_ms / 1000.0f);
onConnect_l(ex);
} }
} else {
SockException ex;
onConnect_l(ex);
} }
} }

View File

@ -3,7 +3,7 @@
"info": { "info": {
"title": "ZLMediaKit HTTP API", "title": "ZLMediaKit HTTP API",
"description": "You can test the HTTP API provided by ZlMediaKit here. For usage documentation, please refer to [here](https://docs.zlmediakit.com/guide/media_server/restful_api.html)", "description": "You can test the HTTP API provided by ZlMediaKit here. For usage documentation, please refer to [here](https://docs.zlmediakit.com/guide/media_server/restful_api.html)",
"version": "ZLMediaKit(git hash:\"a78ca2e\"/\"2023-11-17T11:12:51+08:00\",branch:\"patch-63\",build time:\"2023-11-23T14:35:02\")", "version": "ZLMediaKit(git hash:\"644a333\"/\"2023-11-30T17:58:28+08:00\",branch:\"master\",build time:\"2023-11-30T14:05:40\")",
"x-logo": { "x-logo": {
"url": "/logo.png", "url": "/logo.png",
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
@ -45,7 +45,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -70,7 +70,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -97,7 +97,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -122,7 +122,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -149,7 +149,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -174,7 +174,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -201,7 +201,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -226,7 +226,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -253,7 +253,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -278,7 +278,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -305,7 +305,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "api.apiDebug", "name": "api.apiDebug",
@ -339,7 +339,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "api.apiDebug", "name": "api.apiDebug",
@ -375,7 +375,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -400,7 +400,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -427,7 +427,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -452,7 +452,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -479,7 +479,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -540,7 +540,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -603,7 +603,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -664,7 +664,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -727,7 +727,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -752,7 +752,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -779,7 +779,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "id", "name": "id",
@ -813,7 +813,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "id", "name": "id",
@ -849,7 +849,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -874,7 +874,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -901,7 +901,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -962,7 +962,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -1025,7 +1025,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -1059,7 +1059,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -1095,7 +1095,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1165,7 +1165,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1237,7 +1237,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -1271,7 +1271,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -1307,7 +1307,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "src_url", "name": "src_url",
@ -1377,7 +1377,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "src_url", "name": "src_url",
@ -1449,7 +1449,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -1482,7 +1482,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -1517,7 +1517,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1578,7 +1578,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1641,7 +1641,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1702,7 +1702,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1765,7 +1765,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1834,7 +1834,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1905,7 +1905,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -1966,7 +1966,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "schema", "name": "schema",
@ -2029,7 +2029,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2099,7 +2099,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2171,7 +2171,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2232,7 +2232,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2295,7 +2295,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "type", "name": "type",
@ -2356,7 +2356,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "type", "name": "type",
@ -2419,7 +2419,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2480,7 +2480,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2543,7 +2543,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2604,7 +2604,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -2667,7 +2667,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "type", "name": "type",
@ -2728,7 +2728,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "type", "name": "type",
@ -2791,7 +2791,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "type", "name": "type",
@ -2852,7 +2852,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "type", "name": "type",
@ -2915,7 +2915,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "url", "name": "url",
@ -2967,7 +2967,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "url", "name": "url",
@ -3021,7 +3021,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3055,7 +3055,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3091,7 +3091,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "port", "name": "port",
@ -3143,7 +3143,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "port", "name": "port",
@ -3197,7 +3197,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "dst_url", "name": "dst_url",
@ -3249,7 +3249,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "dst_url", "name": "dst_url",
@ -3303,7 +3303,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3337,7 +3337,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3373,7 +3373,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3416,7 +3416,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3461,7 +3461,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3495,7 +3495,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3531,7 +3531,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3565,7 +3565,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "stream_id", "name": "stream_id",
@ -3601,7 +3601,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -3626,7 +3626,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -3653,7 +3653,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -3741,7 +3741,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -3831,7 +3831,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -3892,7 +3892,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -3955,7 +3955,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -4007,7 +4007,7 @@
"type": "string" "type": "string"
}, },
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)", "description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "vhost", "name": "vhost",
@ -4060,7 +4060,7 @@
"schema": { "schema": {
"type": "string" "type": "string"
}, },
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -4084,7 +4084,7 @@
"schema": { "schema": {
"type": "string" "type": "string"
}, },
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
} }
], ],
"responses": { "responses": {
@ -4110,7 +4110,7 @@
"schema": { "schema": {
"type": "string" "type": "string"
}, },
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -4142,7 +4142,7 @@
"schema": { "schema": {
"type": "string" "type": "string"
}, },
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -4176,7 +4176,7 @@
"schema": { "schema": {
"type": "string" "type": "string"
}, },
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -4208,7 +4208,7 @@
"schema": { "schema": {
"type": "string" "type": "string"
}, },
"example": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX" "example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
}, },
{ {
"name": "key", "name": "key",
@ -4228,6 +4228,130 @@
} }
} }
} }
},
"/index/api/loadMP4File": {
"get": {
"tags": [
"GET"
],
"summary": "\u70b9\u64admp4\u6587\u4ef6(loadMP4File)",
"parameters": [
{
"name": "secret",
"in": "query",
"schema": {
"type": "string"
},
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
},
{
"name": "vhost",
"in": "query",
"schema": {
"type": "string"
},
"description": "\u6dfb\u52a0\u7684\u6d41\u7684\u865a\u62df\u4e3b\u673a\uff0c\u4f8b\u5982__defaultVhost__",
"example": "__defaultVhost__"
},
{
"name": "app",
"in": "query",
"schema": {
"type": "string"
},
"description": "\u6dfb\u52a0\u7684\u6d41\u7684\u5e94\u7528\u540d\uff0c\u4f8b\u5982live",
"example": "live"
},
{
"name": "stream",
"in": "query",
"schema": {
"type": "string"
},
"description": "\u6dfb\u52a0\u7684\u6d41\u7684id\u540d\uff0c\u4f8b\u5982test",
"example": "test"
},
{
"name": "file_path",
"in": "query",
"schema": {
"type": "string"
},
"description": "mp4\u6587\u4ef6\u7edd\u5bf9\u8def\u5f84",
"example": "/path/to/mp4/file.mp4"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
},
"post": {
"tags": [
"POST"
],
"summary": "\u70b9\u64admp4\u6587\u4ef6(loadMP4File)",
"parameters": [
{
"name": "secret",
"in": "query",
"schema": {
"type": "string"
},
"description": "api\u64cd\u4f5c\u5bc6\u94a5(\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e)",
"example": "OJnXXZ4Eh1uHvDmJz8eud5ykuprr0AWv"
},
{
"name": "vhost",
"in": "query",
"schema": {
"type": "string"
},
"description": "\u6dfb\u52a0\u7684\u6d41\u7684\u865a\u62df\u4e3b\u673a\uff0c\u4f8b\u5982__defaultVhost__",
"example": "__defaultVhost__"
},
{
"name": "app",
"in": "query",
"schema": {
"type": "string"
},
"description": "\u6dfb\u52a0\u7684\u6d41\u7684\u5e94\u7528\u540d\uff0c\u4f8b\u5982live",
"example": "live"
},
{
"name": "stream",
"in": "query",
"schema": {
"type": "string"
},
"description": "\u6dfb\u52a0\u7684\u6d41\u7684id\u540d\uff0c\u4f8b\u5982test",
"example": "test"
},
{
"name": "file_path",
"in": "query",
"schema": {
"type": "string"
},
"description": "mp4\u6587\u4ef6\u7edd\u5bf9\u8def\u5f84",
"example": "/path/to/mp4/file.mp4"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {}
}
}
}
}
} }
} }
} }