mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-04 09:47:33 +08:00
Fix issue where when RTP timestamp does not change and packet loss occurs, the rtp parser's CommonRtpDecoder never outputs again (#3891)
Co-authored-by: TalusL <liangzhuohua@genew.com>
This commit is contained in:
@@ -57,6 +57,10 @@ bool CommonRtpDecoder::inputRtp(const RtpPacket::Ptr &rtp, bool){
|
|||||||
}
|
}
|
||||||
|
|
||||||
_last_seq = seq;
|
_last_seq = seq;
|
||||||
|
|
||||||
|
if (_drop_flag && rtp->getHeader()->mark) {
|
||||||
|
_drop_flag = false;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user