修复编译bug

This commit is contained in:
xiongziliang 2018-10-31 11:05:26 +08:00
parent daf87dea93
commit 2b9245b320

View File

@ -973,7 +973,7 @@ void RtspSession::findStream(const function<void(bool)> &cb) {
NoticeCenter::Instance().addListener(task_id, Broadcast::kBroadcastMediaChanged, onRegist); NoticeCenter::Instance().addListener(task_id, Broadcast::kBroadcastMediaChanged, onRegist);
//5秒后执行失败回调 //5秒后执行失败回调
doDelay(5, [cb]() { doDelay(5, [cb,task_id]() {
NoticeCenter::Instance().delListener(task_id,Broadcast::kBroadcastMediaChanged); NoticeCenter::Instance().delListener(task_id,Broadcast::kBroadcastMediaChanged);
cb(false); cb(false);
}); });