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:39:10 +08:00
parent 3026f2fda8
commit cff976bb71
4 changed files with 42 additions and 0 deletions

View file

@ -501,6 +501,7 @@ protected:
srs_error_t on_nack(SrsRtpPacket2* pkt);
public:
virtual srs_error_t on_rtp(SrsRtcStream* source, SrsRtpPacket2* pkt) = 0;
virtual srs_error_t check_send_nacks();
};
class SrsRtcAudioRecvTrack : public SrsRtcRecvTrack