mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Cache RTP packet vector
This commit is contained in:
parent
d692f2d9c4
commit
c96ffd272c
3 changed files with 22 additions and 7 deletions
|
@ -143,8 +143,10 @@ public:
|
|||
public:
|
||||
std::vector<SrsRtpPacket2*> packets;
|
||||
public:
|
||||
SrsRtcPackets(bool gso, bool merge_nalus);
|
||||
SrsRtcPackets();
|
||||
virtual ~SrsRtcPackets();
|
||||
public:
|
||||
void reset(bool gso, bool merge_nalus);
|
||||
};
|
||||
|
||||
class SrsRtcSenderThread : virtual public ISrsCoroutineHandler, virtual public ISrsReloadHandler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue