mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-06 10:57:50 +08:00
修复ws-flv/fmp4/ts播放异常的bug (#4553)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
修复提交 "8b5f313284ee876f3627ab4a2eb6460072f12fd1" 引入的bug
This commit is contained in:
parent
021f09e62b
commit
52b55ded97
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user