mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 04:08:57 +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));
|
||||
// 清空连续包列表
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user