mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 12:11:36 +08:00
Fix the issue of RTP sorting cache crashing when the sequence is reset (#3915)
This commit is contained in:
parent
596531ecf5
commit
046de691cb
@ -64,6 +64,7 @@ public:
|
|||||||
output(seq, std::move(packet));
|
output(seq, std::move(packet));
|
||||||
// 清空连续包列表
|
// 清空连续包列表
|
||||||
flushPacket();
|
flushPacket();
|
||||||
|
_pkt_drop_cache_map.clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -163,9 +164,6 @@ private:
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!_pkt_drop_cache_map.empty()) {
|
|
||||||
_pkt_drop_cache_map.clear();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
iterator popIterator(iterator it) {
|
iterator popIterator(iterator it) {
|
||||||
|
Loading…
Reference in New Issue
Block a user