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:
parent
cff976bb71
commit
0e2f81f023
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue