From c612f291db57a9ada1d1fee9eb6b15e1f81705c1 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 16 Jul 2020 16:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADhook=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=B5=81=E4=B8=8D=E5=AD=98=E5=9C=A8=E5=B0=B1=E7=AB=8B=E5=8D=B3?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=92=AD=E6=94=BE=E5=A4=B1=E8=B4=A5:#417?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebHook.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/WebHook.cpp b/server/WebHook.cpp index 471db2ba..244b07a7 100644 --- a/server/WebHook.cpp +++ b/server/WebHook.cpp @@ -336,6 +336,7 @@ void installWebHook(){ //监听播放失败(未找到特定的流)事件 NoticeCenter::Instance().addListener(nullptr,Broadcast::kBroadcastNotFoundStream,[](BroadcastNotFoundStreamArgs){ if(!hook_enable || hook_stream_not_found.empty()){ + closePlayer(); return; } auto body = make_json(args);