mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Cache RTP packets
This commit is contained in:
parent
7b68f55edc
commit
1064429c7e
4 changed files with 94 additions and 53 deletions
|
@ -88,7 +88,9 @@ public:
|
|||
virtual ~SrsRtpPacket2();
|
||||
public:
|
||||
// Append size of bytes as padding.
|
||||
virtual void set_padding(int size);
|
||||
void set_padding(int size);
|
||||
// Reset RTP packet.
|
||||
void reset();
|
||||
// interface ISrsEncoder
|
||||
public:
|
||||
virtual int nb_bytes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue