mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Perf: Avoid RTP packet copy for player NACK.
This commit is contained in:
parent
8382f570dd
commit
af0b50f54c
4 changed files with 42 additions and 39 deletions
|
@ -252,7 +252,7 @@ public:
|
|||
public:
|
||||
virtual srs_error_t cycle();
|
||||
private:
|
||||
srs_error_t send_packet(SrsRtpPacket2* pkt);
|
||||
srs_error_t send_packet(SrsRtpPacket2*& pkt);
|
||||
public:
|
||||
// Directly set the status of track, generally for init to set the default value.
|
||||
void set_all_tracks_status(bool status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue