mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-30 16:27:36 +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:
parent
e2ac6dc176
commit
7c914666f2
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user