未找到流默认等待

This commit is contained in:
xiongziliang 2020-08-04 16:47:29 +08:00
parent 76b5e1c3e3
commit 1638e53b15

View File

@ -336,7 +336,7 @@ void installWebHook(){
//监听播放失败(未找到特定的流)事件 //监听播放失败(未找到特定的流)事件
NoticeCenter::Instance().addListener(nullptr,Broadcast::kBroadcastNotFoundStream,[](BroadcastNotFoundStreamArgs){ NoticeCenter::Instance().addListener(nullptr,Broadcast::kBroadcastNotFoundStream,[](BroadcastNotFoundStreamArgs){
if(!hook_enable || hook_stream_not_found.empty()){ if(!hook_enable || hook_stream_not_found.empty()){
closePlayer(); // closePlayer();
return; return;
} }
auto body = make_json(args); auto body = make_json(args);