mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-21 01:13:37 +08:00
防止误报警告日志
This commit is contained in:
parent
b7049b1407
commit
974260156e
@ -128,7 +128,7 @@ static inline bool checkTS(const uint8_t *packet, int bytes){
|
||||
}
|
||||
|
||||
void RtpProcess::onRtpSorted(const RtpPacket::Ptr &rtp, int) {
|
||||
if(rtp->sequence != _sequence + 1 && rtp->sequence != 0){
|
||||
if(rtp->sequence != _sequence + 1 && _sequence != 0){
|
||||
WarnP(this) << "rtp丢包:" << rtp->sequence << " != " << _sequence << "+1" << ",公网环境下请使用tcp方式推流";
|
||||
}
|
||||
_sequence = rtp->sequence;
|
||||
|
Loading…
Reference in New Issue
Block a user