mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-02-17 05:40:52 +08:00
修复ws-flv/fmp4/ts播放异常的bug (#4553)
修复提交 "8b5f313284ee876f3627ab4a2eb6460072f12fd1" 引入的bug
This commit is contained in:
@@ -358,7 +358,7 @@ bool HttpSession::checkLiveStream(const string &schema, const string &url_suffix
|
||||
|
||||
Broadcast::AuthInvoker invoker = [weak_self, onRes](const string &err) {
|
||||
if (auto strong_self = weak_self.lock()) {
|
||||
strong_self->async([onRes, err]() { onRes(err); });
|
||||
strong_self->async([onRes, err]() { onRes(err); }, false);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -366,7 +366,7 @@ bool HttpSession::checkLiveStream(const string &schema, const string &url_suffix
|
||||
if (!flag) {
|
||||
// 该事件无人监听,默认不鉴权 [AUTO-TRANSLATED:e1fbc6ae]
|
||||
// No one is listening to this event, no authentication by default
|
||||
onRes("");
|
||||
invoker("");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user