1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Improve NACK efficiency

This commit is contained in:
winlin 2020-09-09 13:51:35 +08:00
parent cff976bb71
commit 0e2f81f023

View file

@ -1711,11 +1711,6 @@ srs_error_t SrsRtcRecvTrack::on_nack(SrsRtpPacket2* pkt)
// insert into video_queue and audio_queue // insert into video_queue and audio_queue
rtp_queue_->set(seq, pkt->copy()); rtp_queue_->set(seq, pkt->copy());
// send_nack
uint32_t sent_nacks = 0;
session_->check_send_nacks(nack_receiver_, ssrc, sent_nacks);
statistic_->nacks += sent_nacks;
return err; return err;
} }