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

RTC: Send NACK by timer, no by RTP packet

This commit is contained in:
winlin 2021-02-08 17:19:20 +08:00
parent 5919865e5d
commit d2e728812b
2 changed files with 22 additions and 9 deletions

View file

@ -355,6 +355,7 @@ public:
srs_error_t on_rtp(char* buf, int nb_buf);
private:
srs_error_t do_on_rtp(char* plaintext, int nb_plaintext);
public:
srs_error_t check_send_nacks();
public:
virtual void on_before_decode_payload(SrsRtpPacket2* pkt, SrsBuffer* buf, ISrsRtpPayloader** ppayload);