优化特定情况下丢帧问题

This commit is contained in:
xiongziliang 2020-04-17 15:19:42 +08:00
parent 1f02144225
commit 1a97c2e3cd

View File

@ -53,8 +53,8 @@ void MediaSink::inputFrame(const Frame::Ptr &frame) {
if (it == _track_map.end()) {
return;
}
it->second->inputFrame(frame);
checkTrackIfReady(it->second);
it->second->inputFrame(frame);
}
void MediaSink::checkTrackIfReady_l(const Track::Ptr &track){