diff --git a/srt/PacketQueue.cpp b/srt/PacketQueue.cpp index e9b51505..2ee6db9a 100644 --- a/srt/PacketQueue.cpp +++ b/srt/PacketQueue.cpp @@ -111,6 +111,7 @@ uint32_t PacketQueue::timeLantency() { } if(dur > 0x80000000){ + //WarnL<<"cycle dur "<first - _pkt_expected_seq+1; + auto size = _pkt_map.rbegin()->first - _pkt_expected_seq+1; + if(size >= _pkt_cap){ + // 回环 + //WarnL<<"cycle size "<