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

RTC: Fix NACK bug

This commit is contained in:
winlin 2020-09-02 11:30:20 +08:00
parent 5c6946f484
commit a0dedba2ab
3 changed files with 24 additions and 40 deletions

View file

@ -31,6 +31,7 @@
#include <map>
#include <srs_kernel_rtc_rtp.hpp>
#include <srs_kernel_rtc_rtcp.hpp>
class SrsRtpPacket2;
class SrsRtpQueue;
@ -132,7 +133,7 @@ public:
SrsRtpNackInfo* find(uint16_t seq);
void check_queue_size();
public:
void get_nack_seqs(std::vector<uint16_t>& seqs);
void get_nack_seqs(SrsRtcpNack& seqs);
public:
void update_rtt(int rtt);
private: