Fix compilation error issues (#3412)

This commit is contained in:
ljx0305 2024-03-26 15:05:14 +08:00 committed by GitHub
parent 3e13e69724
commit 861be27ef8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());