mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Fast copy shared message for RTP
This commit is contained in:
parent
9ee0ed919a
commit
4e474a24ce
4 changed files with 23 additions and 10 deletions
|
@ -351,6 +351,8 @@ public:
|
|||
// copy current shared ptr message, use ref-count.
|
||||
// @remark, assert object is created.
|
||||
virtual SrsSharedPtrMessage* copy();
|
||||
// Only copy the buffer, without header fields.
|
||||
virtual SrsSharedPtrMessage* copy2();
|
||||
};
|
||||
|
||||
// Transmux RTMP packets to FLV stream.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue