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

tenfold: implement nack ringbuffer notify_nack_list_full and notify_drop_seq

This commit is contained in:
jinxue.cgh 2020-05-17 08:40:11 +08:00 committed by 忘篱
parent c875639eb6
commit a3c7be2c75
2 changed files with 15 additions and 1 deletions

View file

@ -1457,6 +1457,7 @@ void SrsRtcPublisher::check_send_nacks(SrsRtpNackForReceiver* nack, uint32_t ssr
// @see: https://tools.ietf.org/html/rfc4585#section-6.1
vector<uint16_t> nack_seqs;
nack->get_nack_seqs(nack_seqs);
vector<uint16_t>::iterator iter = nack_seqs.begin();
while (iter != nack_seqs.end()) {
char buf[kRtpPacketSize];