From 5c8446bc624a6e2fce63f533f2b15c0ad2578214 Mon Sep 17 00:00:00 2001 From: monktan Date: Fri, 9 Oct 2020 15:12:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9A=82=E5=81=9C=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index b3bb4030..14ea493e 100644 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -912,7 +912,7 @@ void installWebApi() { auto process = RtpSelector::Instance().getProcess(allArgs["stream_id"], false); if (!process) { - val["code"] = "-1"; + val["code"] = -1; return; }