Fix compilation error (#3432)

This commit is contained in:
ljx0305 2024-04-01 17:31:04 +08:00 committed by GitHub
parent af3ef996b0
commit 24689fefd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1919,7 +1919,7 @@ void installWebApi() {
api_regist("/index/api/stack/start", [](API_ARGS_JSON_ASYNC) {
CHECK_SECRET();
auto ret = VideoStackManager::Instance().startVideoStack(allArgs.args());
auto ret = VideoStackManager::Instance().startVideoStack(allArgs.args);
val["code"] = ret;
val["msg"] = ret ? "failed" : "success";
invoker(200, headerOut, val.toStyledString());