完善rtp丢包日志

This commit is contained in:
xiongziliang
2020-05-25 14:28:02 +08:00
parent 893564d0be
commit c20a1337a5
3 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,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){
WarnP(this) << rtp->sequence << " != " << _sequence << "+1";
WarnP(this) << "rtp丢包:" << rtp->sequence << " != " << _sequence << "+1" << ",公网环境下请使用tcp方式推流";
}
_sequence = rtp->sequence;
if(_save_file_rtp){