mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-04 18:09:56 +08:00
修复通用rtp解码器输入小时间戳增量流在丢包时不再输出帧数据的bug (#2589)
如果rtp时间戳增量很小,在rtp时间戳在转换单位为毫秒时无变化, 从而被认为是上一帧数据,由于处于丢包状态,此rtp数据将被一直丢弃。
This commit is contained in:
@@ -50,6 +50,7 @@ private:
|
||||
private:
|
||||
bool _drop_flag = false;
|
||||
uint16_t _last_seq = 0;
|
||||
uint64_t _last_stamp = 0;
|
||||
size_t _max_frame_size;
|
||||
CodecId _codec;
|
||||
FrameImp::Ptr _frame;
|
||||
|
||||
Reference in New Issue
Block a user