mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 08:39:34 +08:00
修复编译bug
This commit is contained in:
parent
daf87dea93
commit
2b9245b320
@ -973,7 +973,7 @@ void RtspSession::findStream(const function<void(bool)> &cb) {
|
||||
|
||||
NoticeCenter::Instance().addListener(task_id, Broadcast::kBroadcastMediaChanged, onRegist);
|
||||
//5秒后执行失败回调
|
||||
doDelay(5, [cb]() {
|
||||
doDelay(5, [cb,task_id]() {
|
||||
NoticeCenter::Instance().delListener(task_id,Broadcast::kBroadcastMediaChanged);
|
||||
cb(false);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user