From 24689fefd1b913678a3aa4145c94a1f9fb68f2d6 Mon Sep 17 00:00:00 2001 From: ljx0305 Date: Mon, 1 Apr 2024 17:31:04 +0800 Subject: [PATCH] Fix compilation error (#3432) --- server/WebApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index faac203d..a1ef1f65 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -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());