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