mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Fix compilation error (#3432)
This commit is contained in:
parent
af3ef996b0
commit
24689fefd1
@ -1919,7 +1919,7 @@ void installWebApi() {
|
|||||||
|
|
||||||
api_regist("/index/api/stack/start", [](API_ARGS_JSON_ASYNC) {
|
api_regist("/index/api/stack/start", [](API_ARGS_JSON_ASYNC) {
|
||||||
CHECK_SECRET();
|
CHECK_SECRET();
|
||||||
auto ret = VideoStackManager::Instance().startVideoStack(allArgs.args());
|
auto ret = VideoStackManager::Instance().startVideoStack(allArgs.args);
|
||||||
val["code"] = ret;
|
val["code"] = ret;
|
||||||
val["msg"] = ret ? "failed" : "success";
|
val["msg"] = ret ? "failed" : "success";
|
||||||
invoker(200, headerOut, val.toStyledString());
|
invoker(200, headerOut, val.toStyledString());
|
||||||
|
Loading…
Reference in New Issue
Block a user