From a317ff8614e8aa958fda8c2ea4b39f9d90263bcd Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Wed, 29 May 2019 18:30:43 +0800 Subject: [PATCH] =?UTF-8?q?on=5Fstream=5Fnot=5Ffound=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 907e2694..c12aa89b 100644 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -507,6 +507,8 @@ void installWebApi() { API_REGIST_INVOKER(hook,on_stream_not_found,{ //媒体未找到事件,我们都及时拉流hks作为替代品,目的是为了测试按需拉流 + CHECK_SECRET(); + CHECK_ARGS("vhost","app","stream"); addStreamProxy(allArgs["vhost"], allArgs["app"], allArgs["stream"],