mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Perf: Avoid RTP packet copy for publisher NACK.
This commit is contained in:
parent
74f63d6b14
commit
51a5e283fc
4 changed files with 27 additions and 35 deletions
|
@ -325,7 +325,7 @@ private:
|
|||
// @remark We copy the plaintext, user should free it.
|
||||
srs_error_t on_rtp_plaintext(char* plaintext, int nb_plaintext);
|
||||
private:
|
||||
srs_error_t do_on_rtp_plaintext(SrsRtpPacket2* pkt, SrsBuffer* buf);
|
||||
srs_error_t do_on_rtp_plaintext(SrsRtpPacket2*& pkt, SrsBuffer* buf);
|
||||
public:
|
||||
srs_error_t check_send_nacks();
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue