mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-26 03:27:49 +08:00
Compare commits
2 Commits
dfca520857
...
41bdfa0755
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41bdfa0755 | ||
|
|
21610f5ddf |
@ -1,4 +1,4 @@
|
||||
#include <atomic>
|
||||
#include <atomic>
|
||||
|
||||
static int test()
|
||||
{
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#error This file is not editable by Visual C++.
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#error "This file is not editable by Visual C++."
|
||||
#endif //APSTUDIO_INVOKED
|
||||
|
||||
#include "winres.h"
|
||||
|
||||
@ -1191,6 +1191,7 @@ void installWebApi() {
|
||||
|
||||
auto dst_url = allArgs["dst_url"];
|
||||
auto retry_count = allArgs["retry_count"].empty() ? -1 : allArgs["retry_count"].as<int>();
|
||||
EventPollerPool::Instance().getPoller(false)->async([=](){
|
||||
addStreamPusherProxy(allArgs["schema"],
|
||||
allArgs["vhost"],
|
||||
allArgs["app"],
|
||||
@ -1211,6 +1212,7 @@ void installWebApi() {
|
||||
invoker(200, headerOut, val.toStyledString());
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// 关闭推流代理 [AUTO-TRANSLATED:91602b75]
|
||||
// Close the push stream proxy
|
||||
@ -1258,6 +1260,7 @@ void installWebApi() {
|
||||
vhost = allArgs["vhost"];
|
||||
}
|
||||
auto tuple = MediaTuple { vhost, allArgs["app"], allArgs["stream"], "" };
|
||||
EventPollerPool::Instance().getPoller(false)->async([=]() {
|
||||
addStreamProxy(tuple,
|
||||
allArgs["url"],
|
||||
retry_count,
|
||||
@ -1275,6 +1278,7 @@ void installWebApi() {
|
||||
invoker(200, headerOut, val.toStyledString());
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// 关闭拉流代理 [AUTO-TRANSLATED:5204f128]
|
||||
// Close the pull stream proxy
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Copyright (c) 2016-present The ZLMediaKit project authors. All Rights Reserved.
|
||||
*
|
||||
* This file is part of ZLMediaKit(https://github.com/ZLMediaKit/ZLMediaKit).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user