From 6f4d8c5884c070921d8140d5b72481d1912d4318 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Wed, 12 Jan 2022 17:51:00 +0800 Subject: [PATCH] =?UTF-8?q?Typo:=20=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebHook.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/WebHook.cpp b/server/WebHook.cpp index 058b649c..3d302a4c 100755 --- a/server/WebHook.cpp +++ b/server/WebHook.cpp @@ -227,7 +227,7 @@ static string getPullUrl(const string &origin_fmt, const MediaInfo &info) { WarnL << "get origin url failed, origin_fmt:" << origin_fmt; return ""; } - //告知源站这是来自边沿站的,如果未找到流就理解返回 + //告知源站这是来自边沿站的拉流请求,如果未找到流请立即返回拉流失败 return string(url) + '?' + kEdgeServerParam + '&' + VHOST_KEY + '=' + info._vhost + '&' + info._param_strs; } @@ -416,7 +416,7 @@ void installWebHook(){ //监听播放失败(未找到特定的流)事件 NoticeCenter::Instance().addListener(nullptr, Broadcast::kBroadcastNotFoundStream, [](BroadcastNotFoundStreamArgs) { if (start_with(args._param_strs, kEdgeServerParam)) { - //来自源站的溯源请求,流不存在时立即返回拉流失败 + //来自边沿站的溯源请求,流不存在时立即返回拉流失败 closePlayer(); return; }