mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
Fix compilation error issues (#3412)
This commit is contained in:
parent
3e13e69724
commit
861be27ef8
@ -1918,7 +1918,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.getArgs());
|
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